Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6637583

Build failure on latest Solaris, source missing include of resource.h?

XMLWordPrintable

    • b03
    • generic
    • generic

        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

              ohair Kelly Ohair (Inactive)
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: