build failure due to RTS C errors ...
Dimitrios Vytiniotis
dimitris at microsoft.com
Mon Apr 30 11:00:53 CEST 2012
Ah I am on 32-bit linux, so this could be an untested platform maybe?
d-
> -----Original Message-----
> From: Simon Peyton-Jones
> Sent: Monday, April 30, 2012 9:54 AM
> To: Dimitrios Vytiniotis; cvs-ghc at haskell.org
> Subject: RE: build failure due to RTS C errors ...
>
> Could this be something to do with 32 vs 64 bit? Builds ok for me on (a) 32 bit
> windows (b) 64-bit Linux.
>
> Ian, you've been fiddling with this 64 bit stuff haven't you?
>
> Simion
>
> | -----Original Message-----
> | From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org]
> | On Behalf Of Dimitrios Vytiniotis
> | Sent: 30 April 2012 09:31
> | To: cvs-ghc at haskell.org
> | Subject: build failure due to RTS C errors ...
> |
> |
> | Hi all, I just pulled this morning from HEAD and tried to validate in
> | Linux (using gcc 4.6.1), and I got a lot of C errors from RTS type
> | incompatibilities. Some are:
> |
> | rts/Linker.c: In function 'mmapForLinker':
> |
> | rts/Linker.c:1641:8:
> | error: format '%lu' expects argument of type 'long unsigned int',
> | but argument 2 has type 'unsigned int' [-Werror=format]
> | rts/Linker.c: In function 'do_Elf_Rel_relocations':
> |
> | rts/Linker.c:4585:19:
> | error: format '%lu' expects argument of type 'long unsigned int',
> | but argument 3 has type 'Elf32_Addr' [-Werror=format]
> | rts/Linker.c: In function 'do_Elf_Rela_relocations':
> |
> | rts/Linker.c:4879:19:
> | error: format '%lu' expects argument of type 'long unsigned int',
> | but argument 3 has type 'Elf32_Addr' [-Werror=format]
> | cc1: all warnings being treated as errors
> |
> | make[1]: *** [rts/dist/build/Linker.o] Error 1
> | make[1]: *** Waiting for unfinished jobs....
> | make: *** [all] Error 2
> |
> | Before that, I got an error at ghc/hschooks.c (last line, type cast
> | warning between lnat and size_t, which I temporarily solved with
> | inserting a cast)
> |
> | What's going on????
> |
> | Thanks!
> | d-
> |
> |
> |
> |
> |
> |
> |
> | _______________________________________________
> | Cvs-ghc mailing list
> | Cvs-ghc at haskell.org
> | http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list