-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b03
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2156887 | 7 | Kelly Ohair | P3 | Closed | Fixed | b25 |
JDK-2158020 | 6u10 | Kelly Ohair | P3 | Resolved | Fixed | b12 |
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/SUNWspro/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 symbol: limit
cc: acomp failed for /net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c
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
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/SUNWspro/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 symbol: limit
cc: acomp failed for /net/bonsai.sfbay/u/ohair/ws6-open/jdk/src/solaris/hpi/native_threads/src/sys_api_td.c
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
- backported by
-
JDK-2158020 Build failure on latest Solaris, source missing include of resource.h?
- Resolved
-
JDK-2156887 Build failure on latest Solaris, source missing include of resource.h?
- Closed