[GHC] #2342: timer problem under Sparc Solaris for Release
Candidate ghc-6.8.2.20080603
GHC
trac at galois.com
Wed Jun 4 14:12:05 EDT 2008
#2342: timer problem under Sparc Solaris for Release Candidate ghc-6.8.2.20080603
-----------------------+----------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: sparc | Os: Solaris
-----------------------+----------------------------------------------------
{{{
../../compiler/stage1/ghc-inplace -package-name base-3.0.2.0 -hide-all-
packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build
-Iinclude -#include "HsBase.h" -odir dist/build -hidir dist/build -stubdir
dist/build -package rts-1.0 -O -package-name base -XMagicHash
-XExistentialQuantification -XRank2Types -XScopedTypeVariables
-XUnboxedTuples -XForeignFunctionInterface -XUnliftedFFITypes
-XDeriveDataTypeable -XGeneralizedNewtypeDeriving -XFlexibleInstances
-XPatternSignatures -XStandaloneDeriving -XPatternGuards -XCPP
-idist/build -H16m -O -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc -O
-Rghc-timing -fgenerics -c GHC/Base.lhs -o dist/build/GHC/Base.o -ohi
dist/build/GHC/Base.hi
In file included from include/HsBase.h:109,
from /tmp/ghc13901_0/ghc13901_0.hc:4:0:
/usr/include/sys/resource.h:146:0:
error: field 'ru_utime' has incomplete type
/usr/include/sys/resource.h:147:0:
error: field 'ru_stime' has incomplete type
In file included from /tmp/ghc13901_0/ghc13901_0.hc:4:0:
include/HsBase.h: In function 'sizeofTimeVal':
include/HsBase.h:721:0:
error: invalid application of 'sizeof' to incomplete type 'struct
timeval'
include/HsBase.h: In function 'getUSecOfDay':
include/HsBase.h:725:0: error: storage size of 'tv' isn't known
include/HsBase.h: In function 'setTimevalTicks':
include/HsBase.h:735:0:
error: dereferencing pointer to incomplete type
include/HsBase.h:736:0:
error: dereferencing pointer to incomplete type
<<ghc: 120711684 bytes, 13 GCs, 954368/1814528 avg/max bytes residency (2
samples), 19M in use, 0.00 INIT (0.00 elapsed), 1.76 MUT (2.83 elapsed),
0.20 GC (0.22 elapsed) :ghc>>
gmake[2]: *** [dist/build/GHC/Base.o] Error 1
gmake[2]: Leaving directory
`/export/local/home/maeder/ghc-6.8.2.20080603/libraries/base'
gmake[1]: *** [make.library.base] Error 2
gmake[1]: Leaving directory
`/export/local/home/maeder/ghc-6.8.2.20080603/libraries'
gmake: *** [stage1] Error 2
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2342>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list