RE: autoconfi warnings
Simon Peyton-Jones <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <59543203684B2244980D7E4057D5FBC13F7A366C@DB3EX14MBXC306.europe.corp.microsoft.com> |
| Wild guess: what does config.log say about your C compiler ans flags
| used to invoke it?
| Can you post it if it is not too big?
config.log attached.
The build falls over later with the errors below, so I'm totally stuck on Windows. Help sought!
Thanks
Simon
"c:/fp/HP-2012.2.0.0/bin/ghc.exe" -M -static -H32m -O -Werror -Wall -H64m -O0 -package pretty -package-conf libraries/bootstrapping.conf -i -iutils/genapply/. -iutils/genapply/dist/build -iutils/genapply/dist/build/autogen -Iutils/genapply/dist/build -Iutils/genapply/dist/build/autogen -no-user-package-conf -rtsopts -odir utils/genapply/dist/build -hidir utils/genapply/dist/build -stubdir utils/genapply/dist/build -hisuf hi -osuf o -hcsuf hc -dep-makefile utils/genapply/dist/build/.depend.haskell.tmp -dep-suffix "" -include-pkg-deps utils/genapply/./GenApply.hs
In file included from utils\genapply\GenApply.hs:13:0:
utils\genapply\..\..\includes\rts\Constants.h:159:2:
error: #error unknown SIZEOF_VOID_P
In file included from utils\genapply\GenApply.hs:16:0:
utils\genapply\..\..\includes\MachDeps.h:33:2:
error: #error GHC untested on this architecture: sizeof(char) != 1
utils\genapply\..\..\includes\MachDeps.h:37:2:
error: #error GHC untested on this architecture: sizeof(short) != 2
utils\genapply\..\..\includes\MachDeps.h:41:2:
error: #error GHC untested on this architecture: sizeof(unsigned int) != 4
utils\genapply\..\..\includes\MachDeps.h:97:2:
error: #error Cannot find a 64bit type.
"rm" -f utils/unlit/dist/build/.depend.c_asm.tmp
c:/code/HEAD/inplace/mingw/bin/gcc.exe -E -fno-stack-protector -Werror -Wall -MM utils/unlit/unlit.c -MF utils/unlit/dist/build/.depend.c_asm.bit
sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|utils/unlit/|" -e "1s|utils/unlit/|utils/unlit/dist/build/|" -e "1s|dist/build/dist/build|dist/build|g" -e "s|c:/code/HEAD/||gi" utils/unlit/dist/build/.depend.c_asm.bit >> utils/unlit/dist/build/.depend.c_asm.tmp && true
"rm" -f utils/unlit/dist/build/.depend.c_asm.bit
echo "utils/unlit_dist_depfile_c_asm_EXISTS = YES" >> utils/unlit/dist/build/.depend.c_asm.tmp
mv utils/unlit/dist/build/.depend.c_asm.tmp utils/unlit/dist/build/.depend.c_asm
"c:/fp/HP-2012.2.0.0/bin/ghc.exe" -static -H32m -O -Werror -Wall -H64m -O0 -package-conf libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package base-4.5.0.0 -package containers-0.4.2.1 -package directory-1.1.0.2 -package filepath-1.3.0.0 -package process-1.1.0.1 -XHaskell98 -XCPP -XForeignFunctionInterface -no-user-package-conf -rtsopts -odir utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir utils/hsc2hs/dist/build -hisuf hi -osuf o -hcsuf hc -c utils/hsc2hs/./DirectCodegen.hs -o utils/hsc2hs/dist/build/DirectCodegen.o
make[1]: *** [utils/genapply/dist/build/.depend.haskell] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
bash-3.1$
| -----Original Message-----
| From: [email protected] [mailto:[email protected]] On Behalf Of Gabriel Dos
| Reis
| Sent: 10 December 2012 23:56
| To: Simon Peyton-Jones
| Cc: [email protected]
| Subject: Re: autoconfi warnings
|
| On Mon, Dec 10, 2012 at 4:19 PM, Simon Peyton-Jones
| <[email protected]> wrote:
| > With a clean build in Windows/MSYS I'm getting lots of autoconf WARNINGS;
| > see below.
|
| Wild guess: what does config.log say about your C compiler ans flags
| used to invoke it?
| Can you post it if it is not too big?
|
| -- Gaby
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc
config.log
(application/octet-stream, 212.8 KB) - not displayed