[GHC] #13522: unhandled ELF relocation(RelA) type 19

#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

#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) | Resolution: | Keywords: Operating System: Linux | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by tmcdonell): * cc: tmcdonell (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13522#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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) | Resolution: | Keywords: Operating System: Linux | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): It looks like this is relocation type `R_X86_64_TLSGD`. I believe this relocation may be described by either this[[http://www.fsfla.org/~lxoliva/writeups/TLS/RFC- TLSDESC-x86.txt|this]] or [[http://people.redhat.com/drepper/tls.pdf|that]] document. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13522#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC