#5382: strip: Cannot manipulate object-file created with ghc-7.2.0.20110728 
under
solaris
------------------------+---------------------------------------------------
    Reporter:  maeder   |       Owner:              
        Type:  bug      |      Status:  new         
    Priority:  normal   |   Component:  Compiler    
     Version:  7.1      |    Keywords:              
    Testcase:           |   Blockedby:              
          Os:  Solaris  |    Blocking:              
Architecture:  x86      |     Failure:  None/Unknown
------------------------+---------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5382>
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

Reply via email to