
#13501: TH segmentation fault on Linux when calling function from another package -------------------------------------+------------------------------------- Reporter: jmaki | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): One interesting observation is that there are two modules named `Base.o` that get placed in the archive file, {{{ $ ar t dist-install/build/libHSbase-4.10.0.0.a | grep Base Base.o Base.o }}} One of these is `GHC.Base` and the other is `Control.Exception.Base`. Given that `ar --print-armap` reports `base_GHCziBase_return_info` as defined I wonder whether the RTS linker fails to find the symbol due to this repeated object name. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13501#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler