[GHC] #5382: strip: Cannot manipulate object-file created with ghc-7.2.0.20110728 under solaris
GHC
cvs-ghc at haskell.org
Mon Aug 8 14:11:40 CEST 2011
#5382: strip: Cannot manipulate object-file created with ghc-7.2.0.20110728 under
solaris
-------------------------+--------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Solaris | Blocking:
Architecture: x86 | Failure: None/Unknown
-------------------------+--------------------------------------------------
Comment(by simonmar):
I don't know why strip is failing, but it's easy enough to disable this
stuff and the consequences aren't bad (basically reverting to the GHC 7.0
behaviour, where GHC sometimes omits linking when it shouldn't - see
#4451).
You'll need to add an exception for Solaris to two places in
`DriverPipeline.hs`, where we already have exceptions for Windows and OS X
(Darwin). See `mkExtraObjToLinkIntoBinary` and `checkLinkInfo`.
Incedentally it would be better to abstract that check into one place,
call it "platformSupportsLinkInfo" or something.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5382#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list