
#9302: relocation R_X86_64_PC32 against undefined symbol (from Data.Array.Parallel) while building GHC in quickest flavour -------------------------------------+------------------------------------- Reporter: | Owner: ulysses4ever | Status: new Type: bug | Milestone: Priority: normal | Version: Component: Build | Keywords: System | Operating System: Linux Resolution: | Type of failure: Building GHC Differential Revisions: | failed Architecture: | Test Case: Unknown/Multiple | Blocking: Difficulty: Unknown | Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Comment (by rwbarton): This is unrelated to #9007. The "recompile with -fPIC" is a pretty generic error message for "something went wrong involving a dynamic library". ld is making its best guess as to the cause. Note that the undefined reference is from Data.Array.Parallel.Prelude.Bool to a symbol in the same module! Something screwy is going on with VECTORISE I think. A workaround would be to not build DPH when building with BuildFlavour = quickest, as you almost certainly don't want to build it anyways (it takes a long time). To do so uncomment the line `BUILD_DPH=NO` in `mk/build.mk`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9302#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler