[GHC] #9302: relocation R_X86_64_PC32 against undefined symbol (from Data.Array.Parallel) while building GHC
GHC
ghc-devs at haskell.org
Sat Jul 12 15:10:39 UTC 2014
#9302: relocation R_X86_64_PC32 against undefined symbol (from
Data.Array.Parallel) while building GHC
----------------------------------------+----------------------------------
Reporter: ulysses4ever | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version:
Resolution: | Keywords:
Operating System: Linux | Architecture:
Type of failure: Building GHC failed | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
----------------------------------------+----------------------------------
Description changed by ulysses4ever:
Old description:
> I followed “First steps” section in
> [https://ghc.haskell.org/trac/ghc/wiki/Newcomers Newcomers guide] to
> build GHC from sources (got via git-clone) on Ubuntu 14.04 (amd64).
> During the last step (make) it comes to the error:
>
> {{{
> /usr/bin/ld: libraries/dph/dph-lifted-copy/dist-
> install/build/Data/Array/Parallel/Prelude/Bool.dyn_o: relocation
> R_X86_64_PC32 against undefined symbol
> `dphzmliftedzmcopyzm0zi8zi0zi1_DataziArrayziParallelziPreludeziBool_andPzuv_closure'
> can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status
> }}}
>
> The only substantial change I did to the manual is setting BuildFlavour =
> quickest instead of BuildFlavour = quick.
>
> I tried to just the same under Lubuntu 13.04 (i386) and got just the same
> type of error on relocation (now for R_386_GOTOFF symbol) in the same
> module (Data.Array.Parallel).
New description:
I followed “First steps” section in
[https://ghc.haskell.org/trac/ghc/wiki/Newcomers Newcomers guide] to build
GHC from sources (got via git-clone) on Ubuntu 14.04 (amd64). During the
last step (make) it comes to the error:
{{{
/usr/bin/ld: libraries/dph/dph-lifted-copy/dist-
install/build/Data/Array/Parallel/Prelude/Bool.dyn_o: relocation
R_X86_64_PC32 against undefined symbol
`dphzmliftedzmcopyzm0zi8zi0zi1_DataziArrayziParallelziPreludeziBool_andPzuv_closure'
can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
}}}
The only substantial change I did to the manual is setting BuildFlavour =
quickest instead of BuildFlavour = quick.
I tried to just the same under Lubuntu 13.04 (i386) and got just the same
type of error on relocation (now for R_386_GOTOFF symbol) in the same
module (Data.Array.Parallel).
Other related bug might be #9007.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9302#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list