#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):
{{{
SRC_CC_OPTS += -std=gnu89
}}}
in `config.mk.in` compiles now. I get the following warnings, though (that
may not matter)
{{{
../compiler/ghc-inplace -optc-O -optc-std=gnu89 -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 Hpc.c -o Hpc.o
In file included from ../includes/ghcconfig.h:4,
from ../includes/Stg.h:61,
from ../includes/Rts.h:19,
from Hpc.c:11:0:
../includes/ghcautoconf.h:359:1:
warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/stdio.h:22,
from Hpc.c:5:0:
/export/local1/mirror/lang/bin/../lib/gcc/i386-pc-
solaris2.10/4.2.2/include/sys/feature_tests.h:197:1:
warning: this is the location of the previous definition
Hpc.c: In function 'hpc_init':
Hpc.c:196:0:
warning: format '%d' expects type 'int', but argument 5 has type
'pid_t'
}}}
and
{{{
../compiler/ghc-inplace -optc-O -optc-std=gnu89 -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-g -optc-O0
-optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O -package-name
rts -static -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint
-hisuf debug_hi -hcsuf debug_hc -osuf debug_o -optc-DDEBUG -c
sm/Storage.c -o sm/Storage.debug_o
sm/Storage.c: In function 'initStorage':
sm/Storage.c:123:0:
warning: the address of 'stg_BLACKHOLE_info' will always evaluate as
'true'
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2318#comment:6>
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