#3400: OS X: ghc broken on Snow Leopard
-------------------------+--------------------------------------------------
    Reporter:  bbb       |        Owner:  chak   
        Type:  bug       |       Status:  new    
    Priority:  high      |    Milestone:  6.12.1 
   Component:  Compiler  |      Version:  6.11   
    Severity:  blocker   |   Resolution:         
    Keywords:            |   Difficulty:  Unknown
    Testcase:            |           Os:  MacOS X
Architecture:  x86       |  
-------------------------+--------------------------------------------------
Comment (by chak):

 Just pushed
 {{{
 Thu Sep 17 14:41:21 EST 2009  Manuel M T Chakravarty
 <[email protected]>
   * Fix build on Mac OS 10.6 (Snow Leopard)
   - We have -m32 as machine-dependent option for gcc for a 32 bit build
   - Like on OpenBSD, SL requires -fno-stack-protector to avoid triggering
 the
     stack smashing checks inserted by gcc by default on this platform.
 }}}
 which fixes the build on SL and also validates on Leopard.

 NB: This fixes the build.  However, the testsuite doesn't work as SL comes
 with Python 2.6.1, which apparently has a bug in on of its libraries that
 is tickled by GHC's testsuite.  The error message is
 {{{
 Traceback (most recent call last):
   File "../../driver/runtests.py", line 112, in <module>
     maj = int(re.sub('[^0-9].*', '', maj))
   File
 "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py",
 line 150, in sub
     return _compile(pattern, 0).sub(repl, string, count)
 TypeError: expected string or buffer
 }}}

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