build failures on MacOsX

Dimitrios Vytiniotis dimitris at microsoft.com
Thu Mar 29 11:03:09 CEST 2012


Actually my confusion maybe is resolved as I pulled from master (into my own branch) last night *after* I had already
built and I did not fully clean last night. But I did clean this morning, and got this error. So it could be caused by some
patch to head from < 10 days ago.

Thanks!
d-



From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On Behalf Of Dimitrios Vytiniotis
Sent: Thursday, March 29, 2012 9:50 AM
To: cvs-ghc at haskell.org
Subject: build failures on MacOsX


Hi all, this morning I get the following when I tried to build after a full clean. But I swear I did manage to `make' last night (with devel2 flavor)!

"/usr/bin/ghc" -optc-Wall -optc-Werror -optc-Iincludes -optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header -optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-DGEN_HASKELL   -H32m -O -Wall -Werror -H64m -O0  -package-conf libraries/bootstrapping.conf   -i -iincludes/. -iincludes/dist-ghcconstants/build -iincludes/dist-ghcconstants/build/autogen -Iincludes/dist-ghcconstants/build -Iincludes/dist-ghcconstants/build/autogen          -no-user-package-conf -rtsopts     -c includes/mkDerivedConstants.c -o includes/dist-ghcconstants/build/mkDerivedConstants.o
cc1: warnings being treated as errors
includes/mkDerivedConstants.c: In function 'main':

includes/mkDerivedConstants.c:208:0:
     warning: format '%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

includes/mkDerivedConstants.c:209:0:
     warning: format '%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

includes/mkDerivedConstants.c:210:0:

[...]

includes/mkDerivedConstants.c:442:0:
     warning: format '%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

includes/mkDerivedConstants.c:443:0:
     warning: format '%u' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
make[1]: *** [includes/dist-ghcconstants/build/mkDerivedConstants.o] Error 1
make: *** [all] Error 2

My configuration is:

   Building GHC version  : 7.5.20120329

   Build platform        : i386-apple-darwin
   Host platform         : i386-apple-darwin
   Target platform       : i386-apple-darwin

   Bootstrapping using   : /usr/bin/ghc
      which is version   : 7.0.3

   Using GCC                 : /usr/bin/gcc
      which is version       : 4.2.1
   Building a cross compiler : NO
   Porting to foreign arch   : NO
   Alien script              :

   ld       : /usr/bin/ld
   Happy    : /usr/bin/happy (1.18.6)
   Alex     : /usr/bin/alex (2.3.5)
   Python   : /usr/bin/python
   Perl     : /opt/local/bin/perl
   dblatex  :
   xsltproc : /usr/bin/xsltproc

Any help please?
d-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cvs-ghc/attachments/20120329/915a2be7/attachment.htm>


More information about the Cvs-ghc mailing list