|
Quick Lists
|
|
Bug ID:
|
6637583
|
|
Votes
|
0
|
|
Synopsis
|
Build failure on latest Solaris, source missing include of resource.h?
|
|
Category
|
java:build
|
|
Reported Against
|
|
|
Release Fixed
|
6-open(b03),
7(b25) (Bug ID:2156887)
, 6u10(b12) (Bug ID:2158020)
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
6600112
|
|
Submit Date
|
05-DEC-2007
|
|
Description
|
building on the very latest Solaris 11 (bonsai.sfbay).
It looks like we are missing an #include <sys/resource.h>
and have been just lucking out all these years because some other include
file was including it.
...
/java/devtools/i586/ xxxxx Wspro/SS11/bin/cc -xO4 -xF -v -mt -L/net/bonsai.sfbay/u/ohair/ws6-open/control/build/solaris-i586/tmp/java/hpi/native_threads/obj -xc99=%none -xCC -errshort=tags -Xa -xregs=no%frameptr -xstrconst -W0,-noglobal -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC -DTRIMMED -Di586 -D__solaris__ -D_REENTRANT -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/net/bonsai.sfbay/u/ohair/ws6-open/control/build/solaris-i586/tmp/java/hpi/native_threads/CClassHeaders -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/javavm/export -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/share/javavm/export -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/share/javavm/include -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/javavm/include -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/include -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/include -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/export -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/share/hpi/include -I/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/share/hpi/export -D_REENTRANT -DNATIVE -DHAVE_GETHRVTIME -DHAVE_FILIOH -c -o /net/bonsai.sfbay/u/ohair/ws6-open/control/build/solaris-i586/tmp/java/hpi/native_threads/obj/threads_solaris.o /net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/src/threads_solaris.c
"/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c", line 101: syntax error before or at: limit
"/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c", line 101: warning: undefined or missing type for: limit
"/net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c", line 105: undefined customer : limit
gmake[5]: *** [/net/bonsai.sfbay/u/ohair/ws6-open/control/build/solaris-i586/tmp/java/hpi/native_threads/obj/sys_api_td.o] Error 2
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java/hpi/native'
gmake[4]: *** [library_parallel_compile] Error 2
gmake[4]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java/hpi/native'
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java/hpi'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/net/bonsai.sfbay/u/ohair/ws6-open/jdk/make'
gmake: *** [jdk-build] Error 2
Posted Date : 2007-12-05 03:02:49.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
Somehow the source file jdk/src/solaris/hpi/native_threads/src/sys_api_td.c included a system file that managed to include /usr/include/sys/resource.h (for typedef rlim_t), instead of including resource.h itself.
Posted Date : 2007-12-05 21:22:04.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |