unhandled ELF relocation(RelA) type 19
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
Trac metadata
Trac field | Value |
---|---|
Version | 8.0.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler (Linking) |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |