[GHC] #5019: OS X: ld: warning: could not create compact unwind for _ffi_call_unix64

GHC cvs-ghc at haskell.org
Thu Jul 21 00:22:49 CEST 2011


#5019: OS X: ld: warning: could not create compact unwind for _ffi_call_unix64
-------------------------------+--------------------------------------------
    Reporter:  altaic          |        Owner:  igloo                            
        Type:  bug             |       Status:  new                              
    Priority:  high            |    Milestone:  7.2.1                            
   Component:  Compiler        |      Version:  7.1                              
    Keywords:                  |     Testcase:                                   
   Blockedby:                  |   Difficulty:                                   
          Os:  MacOS X         |     Blocking:                                   
Architecture:  x86_64 (amd64)  |      Failure:  Incorrect warning at compile-time
-------------------------------+--------------------------------------------

Comment(by dmp):

 If I add -optl"-Wl,-no_compact_unwind" to the ghc command file (e.g.
 /usr/bin/ghc) the linker warnings are not generated. It seems to be an ok
 fix if we do not want to catch c++ or objective c exceptions in a Haskell
 program.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5019#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list