#4984: OS X: ld: warning: -read_only_relocs cannot be used with x86_64
-------------------------------+--------------------------------------------
    Reporter:  igloo           |        Owner:              
        Type:  bug             |       Status:  new         
    Priority:  high            |    Milestone:  7.2.1       
   Component:  Compiler        |      Version:  7.0.2       
    Keywords:                  |     Testcase:              
   Blockedby:                  |   Difficulty:              
          Os:  MacOS X         |     Blocking:              
Architecture:  x86_64 (amd64)  |      Failure:  None/Unknown
-------------------------------+--------------------------------------------

Comment(by altaic):

 The fix for the read_only_relocs warnings the is simple, but I'm having
 trouble attaching the patch because it is apparently too large for trac.

 I haven't completely sorted out the compact unwind warnings yet-- the OS X
 10.6 linker now defaults to creating compact unwinds, which is a good
 thing, however the unwind info for `_ffi_call_unix64` can't be represented
 in the compact format. Someone more familiar with libffi may be able to
 figure out how to make `_ffi_call_unix64` compatible with the compact
 unwind format. Otherwise, we may be able to pass the linker
 `-no_compact_unwind`, or possibly disable the warnings. Unfortunately, the
 option `-warn_compact_unwind` turns the warning ''on'' (which is the
 default), and `-no_warn_compact_unwind` does not exist. Furthermore, even
 though using `-no_compact_unwind` does turn off the generation of compact
 unwinds, for some reason the warnings still pop up when I run the test
 suite.

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