strip: Cannot manipulate object-file created with ghc-7.2.0.20110728 under solaris
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
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |