#5293: Linker error from integer-gmp (OS X 10.7)
--------------------------------------+-------------------------------------
  Reporter:  jhenahan                 |          Owner:                
      Type:  bug                      |         Status:  merge         
  Priority:  highest                  |      Milestone:  7.4.1         
 Component:  Compiler                 |        Version:  7.0.4         
Resolution:                           |       Keywords:                
  Testcase:                           |      Blockedby:                
Difficulty:                           |             Os:  MacOS X       
  Blocking:                           |   Architecture:  x86_64 (amd64)
   Failure:  GHC doesn't work at all  |  
--------------------------------------+-------------------------------------
Changes (by chak):

  * status:  new => merge


Comment:

 I just pushed
 {{{
 commit 30ccc9f39dd2cf1ad14e6116778aa1fd94526c19
 Author: Manuel M T Chakravarty <[email protected]>
 Date:   Wed Jul 27 23:05:01 2011 +1000

    On OS X x86_64, use "-Wl,-no_pie" and "-Wl,-no_compact_unwind" to avoid
 linker warnings

    - "-Wl,-no_pie" can be removed once GMP gets updated
 }}}
 This fixes the problem on Lion (x86_64) with Xcode 4.1.

 If anybody has Xcode 4.2 lying around, let me know if it fixes the fatal
 error as well.  (I'm not keen on the dance with two simultaneous Xcode
 installations and don't want to remove 4.1.)

 A better fix would be to update gmp (and to remove "-Wl,-no_pie" again).
 Hence, I leave this bug open.

 ** PLEASE MERGE TO 7.2 **

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