#3713: Track -dynamic/-fPIC to avoid obscure linker errors
-----------------------------------------+----------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.14.1
Component: Compiler | Version: 6.10.4
Resolution: | Keywords:
Difficulty: Moderate (less than a day) | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
-----------------------------------------+----------------------------------
Comment (by duncan):
Doing this on a per-object file basis will require adding extra custom
sections to the object files. This is something we want to do anyway so
that we can add other info such as:
* .hi file content
* stack trace debug info
The ability to insert and read custom sections will have to be implemented
separately on each of ELF, Mach-O and PE. It should be possible to have a
consistent interface on each platform however.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3713#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs