#7097: linker fails to load package with binding to foreign library -------------------------------+-------------------------------------------- Reporter: nus | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.4.2 Keywords: | Os: Windows Architecture: x86 | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: #2283 #3242 | -------------------------------+--------------------------------------------
Comment(by nus): It's worth noting that the Windows dynamic linker doesn't actually care how the symbol names are prefixed. What matters is what PE/COFF section the symbols with the prefixes end up after the partial linkage by GNU ld. Cf. "The Imports Section" in [http://msdn.microsoft.com/en- us/magazine/cc301808.aspx "An In-Depth Look into the Win32 Portable Executable File Format, Part 2"] and "The .idata Section" in [http://msdn.microsoft.com/en-us/windows/hardware/gg463119.aspx "Microsoft PE and COFF Specification"]. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7097#comment:12> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs