timer problem under Sparc Solaris for Release Candidate ghc-6.8.2.20080603
../../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
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 |
|