
#9481: Linker does not correctly resolve symbols in previously loaded objects -------------------------------------+------------------------------------- Reporter: edsko | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: | Difficulty: Unknown None/Unknown | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by simonmar): Works for me on Linux x86_64... somewhat surprisingly, since after `resolveObjs` has already failed once it seems likely that things might be left in a partially-linked state, and repeating `resolveObjs` might not work. I think after `resolveObjs` has failed you probably shouldn't use the linker any more and should report the error and exit, which is what GHCi does. What is the use case for retrying `resolveObjs` after it has failed? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9481#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler