On Mon, Jan 17, 2011 at 07:12:17PM +0000, Roman Leshchinskiy wrote:
> Building the current head fails on my machine (OS X 10.6.6) with the message 
> below. I'm not sure where x86_64 is coming from; it should all be i386. The 
> output of configure is:

This build failure is hopefully fixed by:

    Mon Jan 17 12:05:40 PST 2011  Ian Lynagh <[email protected]>
      * Reinstate the OS X flags in the LDFLAGS etc variables

But other things are now broken, e.g. the cabal01 test:

    cd ./cabal/cabal01 && $MAKE -s --no-print-directory cabal01 PROF= CLEANUP=1 
   </dev/null >cabal01.run.stdout 2>cabal01.run.stderr
    Wrong exit code (expected 0 , actual 2 )
    Stdout:

    Stderr:
    ld: unknown option: -march=i686
    make[1]: *** [cabal01] Error 1

The problem is that we need to tell the linker what the platform is, but
sometimes "the linker" is gcc and sometimes it's ld, and they take
different flags.

Suggestions welcome!


Thanks
Ian


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to