Build fails under OS X: Hpc.c:191:0: error: conflicting types for 'hs_hpc_module'
Have a log:
- ./compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint -c Hpc.c -o Hpc.o
- ./compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint -c HsFFI.c -o HsFFI.o
Hpc.c:191:0: error: conflicting types for 'hs_hpc_module'
- ./includes/RtsExternal.h:76:0:
error: previous declaration of 'hs_hpc_module' was here Hpc.c: In function 'writeTix':
Hpc.c:288:0:
warning: format '%u' expects type 'unsigned int', but argument 4 has type 'StgWord32'
Hpc.c:288:0:
warning: format '%u' expects type 'unsigned int', but argument 5 has type 'StgWord32'
make[1]: *** [Hpc.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [stage1] Error 1
Trac metadata
Trac field | Value |
---|---|
Version | 6.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |