#2318: building GHC 6.8.3 Release Candidate 6.8.2.20080527 under PC solaris 
fails
--------------------------+-------------------------------------------------
 Reporter:  maeder        |          Owner:         
     Type:  bug           |         Status:  new    
 Priority:  high          |      Milestone:  6.8.3  
Component:  Build System  |        Version:  6.8.2  
 Severity:  normal        |     Resolution:         
 Keywords:                |     Difficulty:  Unknown
 Testcase:                |   Architecture:  x86    
       Os:  Solaris       |  
--------------------------+-------------------------------------------------
Comment (by maeder):

 In both cases it fails as follows:

 {{{
 ../compiler/ghc-inplace -optc-O -optc-std=c99 -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
 -package-name rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h
 -dcmm-lint     -c Weak.c -o Weak.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/Rts.h:19,

                  from Weak.c:11:0:

 /export/local1/mirror/lang/bin/../lib/gcc/i386-pc-
 solaris2.10/4.2.2/include/sys/feature_tests.h:341:2:
      error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
 applications     and pre-2001 POSIX applications"
 In file included from ../includes/Rts.h:190,

                  from Weak.c:11:0:

 ../includes/Stable.h:48:0:
      warning: C99 inline functions are not supported; using GNU89

 ../includes/Stable.h:48:0:
      warning: to disable this warning use -fgnu89-inline or the gnu_inline
 function attribute
 gmake[1]: *** [Weak.o] Error 1
 gmake: *** [stage1] Error 1
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2318#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to