#2318: building GHC 6.8.3 Release Candidate 6.8.2.20080527 under PC solaris 
fails
-----------------------+----------------------------------------------------
    Reporter:  maeder  |       Owner:              
        Type:  bug     |      Status:  new         
    Priority:  normal  |   Component:  Build System
     Version:  6.8.2   |    Severity:  normal      
    Keywords:          |    Testcase:              
Architecture:  x86     |          Os:  Solaris     
-----------------------+----------------------------------------------------
 {{{
 ../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

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2318>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to