[GHC] #5128: Linker text reloc warning under Mac OS 10.7

GHC cvs-ghc at haskell.org
Mon Jul 25 10:14:08 CEST 2011


#5128: Linker text reloc warning under Mac OS 10.7
---------------------------------+------------------------------------------
    Reporter:  jah               |        Owner:                                   
        Type:  bug               |       Status:  new                              
    Priority:  normal            |    Milestone:  7.4.1                            
   Component:  Compiler          |      Version:  7.0.3                            
    Keywords:                    |     Testcase:                                   
   Blockedby:                    |   Difficulty:                                   
          Os:  MacOS X           |     Blocking:                                   
Architecture:  Unknown/Multiple  |      Failure:  Incorrect warning at compile-time
---------------------------------+------------------------------------------

Comment(by judahj):

 I got rid of those warnings by passing
 {{{-optl"-Wl,-read_only_relocs,suppress"}}} to {{{ghc --make}}}.

 (Using ghc-7.0.3 on the release of OS X 10.7.)

 I still got the following warning on a simple "hello world" program:
 {{{
 ld: warning: could not create compact unwind for .LFB3: non-standard
 register 5 being saved in prolog
 }}}
 But the program does appear to run correctly.

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



More information about the Glasgow-haskell-bugs mailing list