[GHC] #13522: unhandled ELF relocation(RelA) type 19
GHC
ghc-devs at haskell.org
Tue Apr 4 03:01:50 UTC 2017
#13522: unhandled ELF relocation(RelA) type 19
-------------------------------------+-------------------------------------
Reporter: fumieval | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
(Linking) |
Keywords: | Operating System: Linux
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
When trying to build accelerate-llvm(http://hackage.haskell.org/package
/accelerate-llvm-1.0.0.0) using GHC 8.0.2 (DYNAMIC_GHC_PROGRAMS = NO), I
got the following errors:
{{{
ghc: /usr/lib/llvm-4.0/lib/libLLVMAnalysis.a: unhandled ELF
relocation(RelA) type 19
ghc: Could not on-demand load symbol
'_ZN4llvm30initializeAAEvalLegacyPassPassERNS_12PassRegistryE'
ghc: /usr/lib/llvm-4.0/lib/libLLVMAnalysis.a: unknown symbol
`_ZN4llvm30initializeAAEvalLegacyPassPassERNS_12PassRegistryE'
ghc: Could not on-demand load symbol 'LLVMVerifyModule'
ghc: /home/alang/src/tsuru/trader/_mk/8.0.2/extsrc/install/lib/x86_64
-linux-ghc-8.0.2/llvm-hs-4.0.1.0-ENiuGLzCFNYJ02bgm8NYWg/HSllvm-
hs-4.0.1.0-ENiuGLzCFNYJ02bgm8NYWg.o: unknown symbol `LLVMVerifyModule'
ghc: unable to load package `llvm-hs-4.0.1.0'
}}}
Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-51-generic x86_64), gcc version 5.4.0
20160609, ld 2.26.1
This seems to happen in an other environment (ubuntu 14.04. ghc 8.0.2, gcc
4.8.4, ld 2.24).
GitHub issue: https://github.com/AccelerateHS/accelerate/issues/369
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13522>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list