#10110: Compiling unit fails with Loading temp shared object failed -------------------------------------+------------------------------------- Reporter: trommler | Owner: Type: bug | Status: patch Priority: high | Milestone: 7.10.2 Component: Template Haskell | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #10058 | Differential Revisions: Phab:D731, | Phab:D791, Phab:D895 -------------------------------------+------------------------------------- Comment (by Austin Seipp <austin@…>): In [changeset:"85bf9e49f5ab4e0681eeda2549dbd4b5faf3ef7f/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="85bf9e49f5ab4e0681eeda2549dbd4b5faf3ef7f" Add regression test for #10110. Module C imports a from Module A and b from module B. B does not import anything from A. So if ld is configured to drop DT_NEEDED tags for libraries it does not depend on no DT_NEEDED tag for the temporary shared object containing module A is recorded in the temp SO containing module B. This leads to an undefined symbol when linking the temp SO for module C. Fixes #10110. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D895 GHC Trac Issues: #10110 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10110#comment:16> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler