There's a similar validate problem on PPC.
Looks like word size, or other config thing is messed up.



gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g -fexceptions -O -g -O2 -Wall -Werror -MT src/powerpc/ffi_darwin.lo -MD -MP -MF src/powerpc/.deps/ffi_darwin.Tpo -c src/powerpc/ffi_darwin.c -o src/powerpc/ffi_darwin.o
cc1: warnings being treated as errors
src/powerpc/ffi_darwin.c: In function 'ffi_call':
src/powerpc/ffi_darwin.c:454: warning: passing argument 6 of 'ffi_call_AIX' from incompatible pointer type src/powerpc/ffi_darwin.c:458: warning: passing argument 6 of 'ffi_call_DARWIN' from incompatible pointer type
make[4]: *** [src/powerpc/ffi_darwin.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
libtool: install: `libffi.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
make[1]: *** [libffi/stamp.ffi.build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2



Ben Lippmeier wrote:

Those ducks, they just won't line up..


inplace/bin/mkdirhier compiler/stage2/build/
/home/benl/software/alex-2.3.1/bin/alex -g compiler/cmm/CmmLex.x -o compiler/stage2/build/CmmLex.hs
cc1: warnings being treated as errors
LibFFI.hsc: In function 'main':
LibFFI.hsc:81: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' LibFFI.hsc:82: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
compiling compiler/stage2/build/LibFFI_hsc_make.c failed
command was: gcc -c -g -O2 -Wall -Werror -D__GLASGOW_HASKELL__=611 -O -g -O2 -Wall -Werror -Icompiler/../libffi/build/include -Icompiler/stage2 -Icompiler/../libraries/base/cbits -Icompiler/../libraries/base/include -Icompiler/. -Icompiler/parser -Icompiler/utils -DGHCI -I/home/benl/devel/ghc-HEAD-build-graph/libraries/bytestring/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/process/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/directory/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/unix/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/old-time/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/containers/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/array/include -I/home/benl/devel/ghc-HEAD-build-graph/libraries/base/include -I/home/benl/devel/ghc-HEAD-build-graph/includes -I/home/benl/devel/ghc-HEAD-build-graph/libffi/build/include -I/home/benl/devel/ghc-HEAD-build-graph/inplace/lib/../include/ compiler/stage2/build/LibFFI_hsc_make.c -o compiler/stage2/build/LibFFI_hsc_make.o
make[1]: *** [compiler/stage2/build/LibFFI.hs] Error 1


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

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

Reply via email to