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

GHC cvs-ghc at haskell.org
Thu Oct 6 22:41:59 CEST 2011


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

  * status:  new => closed
  * resolution:  => fixed


Comment:

 I've silenced the warning:
 {{{
 commit 20705dff179ed09f37a7db474109cccef6f9afec
 Author: Ian Lynagh <igloo at earth.li>
 Date:   Thu Oct 6 19:40:51 2011 +0100

     Silence "text reloc" warnings on OS X / x86

     ld gives loads of warnings like:
         ld: warning: text reloc in _base_GHCziArr_unsafeArray_info to
 _base_GHCziArr_unsafeArray_closure
     when linking any program. We're not sure whether this is something we
     ought to fix, but for now we use the -Wl,-read_only_relocs,suppress
 flag
     to silence them.
 }}}

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



More information about the Glasgow-haskell-bugs mailing list