building GHC 6.8.3 Release Candidate 6.8.2.20080527 under PC solaris fails
../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 -optc-w -H16m
-O -optc-O2 -package-name rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h
-dcmm-lint -c Typeable.c -o Typeable.o
In file included from /usr/include/sys/int_types.h:34,
from /usr/include/sys/stdint.h:17,
from /usr/include/stdint.h:17,
from ../includes/HsFFI.h:31,
from ../includes/RtsAPI.h:16,
from ../includes/RtsExternal.h:13,
from ../includes/Stg.h:177,
from ../includes/RtsTypeable.h:12,
from Typeable.c:9:0:
/export/local1/mirror/lang/bin/../lib/gcc/i386-pc-solaris2.10/4.2.2/include/sys/feature_tests.h:345:2:
error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications require the use of c99"
gmake[1]: *** [Typeable.o] Error 1
gmake: *** [stage1] Error 1
using gcc-4.2.2
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |