Ticket #5382 (closed bug: fixed)
strip: Cannot manipulate object-file created with ghc-7.2.0.20110728 under solaris
| Reported by: | maeder | Owned by: | simonmar |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.4.1 |
| Component: | Compiler | Version: | 7.1 |
| Keywords: | Cc: | viskovatoff@… | |
| Operating System: | Solaris | Architecture: | x86 |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
