Hi,

With the latest HEAD from this morning, I fail to build:

c:/ghc-build/ghc/ghc/stage1-inplace/ghc -optc-Werror -optc-Wall -optc-W
-optc-Ws
trict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations
-optc-Win
line -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel
-optc-I
sm -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I../gmp/gmpbuild
-optc-I
../libffi/build/include -optc-fno-strict-aliasing  -fvia-C -static
-I../gmp/gmp
build -I../libffi/build/include -I. -dcmm-lint     -c Arena.c -o Arena.o
c:/ghc-build/ghc/ghc/stage1-inplace/ghc -optc-Werror -optc-Wall -optc-W
-optc-Ws
trict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations
-optc-Win
line -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel
-optc-I
sm -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I../gmp/gmpbuild
-optc-I
../libffi/build/include -optc-fno-strict-aliasing  -fvia-C -static
-I../gmp/gmp
build -I../libffi/build/include -I. -dcmm-lint     -c Capability.c -o
Capability
.o

Capability.c:32:0:
     warning: alignment of 'MainCapability' is greater than maximum
object file
alignment.  Using 16
make[1]: *** [Capability.o] Error 1
make[1]: Leaving directory `/cygdrive/c/ghc-build/ghc/rts'
make: *** [stage1] Error 2


In Capability.h(112) there is the line:

  ATTRIBUTE_ALIGNED(64);

And it seems that mingw doesn't support alignments that big for static
top-level things. It's only a warning, but -optc-Werror makes it cause
the build to fail.

Thanks

Neil

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

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

Reply via email to