#2458: GHC MacOS X Leopard build succeeds, but ghci complains about: unknown
symbol `_environ'
----------------------------+-----------------------------------------------
 Reporter:  IgorBoehm       |          Owner:  igloo  
     Type:  bug             |         Status:  closed 
 Priority:  normal          |      Milestone:  6.10.1 
Component:  libraries/base  |        Version:  6.9    
 Severity:  major           |     Resolution:  fixed  
 Keywords:  environ         |     Difficulty:  Unknown
 Testcase:                  |   Architecture:  x86    
       Os:  MacOS X         |  
----------------------------+-----------------------------------------------
Changes (by igloo):

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

Comment:

 Hmm, this works for me; presumably fixed by Cabal's
 `Distribution.Simple.GHC.stripExe` doing:
 {{{
     args = path : case buildOS of
        OSX -> ["-x"] -- By default, stripping the ghc binary on at least
                      -- some OS X installations causes:
                      --     HSbase-3.0.o: unknown symbol `_environ'"
                      -- The -x flag fixes that.
        _   -> []
 }}}
 so I'm closing this ticket. Please reopen it if you still think there's a
 problem.

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