id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5382,strip: Cannot manipulate object-file created with ghc-7.2.0.20110728 under solaris,maeder,simonmar,"When I try to strip a binary created with ghc-7.2.0.20110728 under solaris I get:

{{{
-bash-3.00$ strip H
strip: H: Warning: Cannot delete section (.debug-ghc-link-info)
                from a segment.
H: WARNING: strip: Cannot manipulate file.
}}}

This causes any installation of binaries using cabal to fail:

{{{
...
Linking dist/build/scan/scan ...
Installing executable(s) in /local/home/maeder/bin
/usr/ccs/bin/strip: /local/home/maeder/bin/scan: Warning: Cannot delete section (.debug-ghc-link-info)
                from a segment.
/local/home/maeder/bin/scan: WARNING: /usr/ccs/bin/strip: Cannot manipulate file.
cabal: Error: some packages failed to install:
scan-0.1.0.6 failed during the final install step. The exception was:
ExitFailure 1
}}}
",bug,closed,normal,7.4.1,Compiler,7.1,fixed,,viskovatoff@…,Solaris,x86,None/Unknown,,,,,
