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

Solaris JDK build: C compiler writing tmp files into the "make" tree

    XMLWordPrintable

Details

    • b30
    • generic
    • generic

    Description

      Whilst building on Solaris 11 x86, when the source tree was not writeable
      by the user building the sources, I found two locations where the build failed.
      In each case it was apparently because the build needed to place temp files
      in the current directory, which was in the make subtree.
      The locations are unrelated, one being in nio, the other awt and
      its not clear without at least some more investigation whether this is a failure
      to set a WD as elsewhere, or we are encountering a compiler bug.
      ------
      /java/devtools/i586/SUNWspro/SS12u1/bin/cc -DNDEBUG -DTRIMMED -D__solaris__ -Di586 -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/home/user2/jdk8bld/tmp/java/java.nio/nio/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/sun/nio/ch -I../../../src/share/native/java/io -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -I/home/user2/jdk8bld/tmp/java/java.nio/nio/CClassHeaders/../../../java.lang/java/CClassHeaders -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/nio -I../../../src/solaris/native/java/nio -o /home/user2/jdk8bld/tmp/java/java.nio/nio/genSolarisConstants ../../../src/solaris/native/sun/nio/fs/genSolarisConstants.c
      Assembler: genSolarisConstants.c
              "/tmp/yabeAAAIcaW9q", line 246 : Cannot open output file: "genSolarisConstants.o"
      Failure in /java/devtools/i386/SUNWspro/SS12u1/prod/bin/fbe, status = 0x7f00
      Fatal Error exec'ing /java/devtools/i386/SUNWspro/SS12u1/prod/bin/fbe
      cc: acomp failed for ../../../src/solaris/native/sun/nio/fs/genSolarisConstants.c
      make381[3]: *** [/home/user2/jdk8bld/tmp/java/java.nio/nio/genSolarisConstants] Error 1
      make381[3]: Leaving directory `/net/foo/user1/jdk8/jdk/make/java/nio'
      make381[2]: *** [niosrc] Error 2
      make381[2]: Leaving directory `/net/foo/user1/jdk8/jdk/make/java/java'
      make381[1]: *** [all] Error 1
      make381[1]: Leaving directory `/net/foo/user1/jdk8/jdk/make/java'
      make381: *** [all] Error 1
      ------

      /java/devtools/i586/SUNWspro/SS12u1/bin/cc -xO2 -Wu,-O2~yz -xregs=no%frameptr -L/home/user2/jdk8bld/tmp/sun/sun.awt.X11/xawt/obj -xc99=%none -xCC -errshort=tags -Xa -v -mt -xstrconst -W0,-noglobal -m32 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC -DNDEBUG -DTRIMMED -D__solaris__ -Di586 -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/home/user2/jdk8bld/tmp/sun/sun.awt.X11/xawt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/X11 -I../../../src/solaris/native/sun/awt/X11 -DFUNCPROTO=15 -I/java/devtools/share/cups/include -DXAWT -DXAWT_HACK -I/home/user2/jdk8bld/tmp/sun/sun.awt.X11/xawt/../../sun.awt/awt/CClassHeaders -I../../../src/solaris/native/sun/awt -I../../../src/solaris/native/sun/xawt -I../../../src/solaris/native/sun/jdga -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/java2d -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/font -I../../../src/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/x11 -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/solaris/native/sun/font -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -I/usr/openwin/include/X11/extensions -DINTERNAL_BUILD -o /home/user2/jdk8bld/gensrc/sun/awt/X11/generator/sizer.32 /home/user2/jdk8bld/gensrc/sun/awt/X11/generator/sizer.32.c
      Assembler: sizer.32.c
              "/tmp/ube.1312972884.25091.05.s", line 14912 : Cannot open output file: "sizer.32.o"
      cc: fbe failed for /home/user2/jdk8bld/gensrc/sun/awt/X11/generator/sizer.32.c
      make381[2]: *** [/home/user2/jdk8bld/gensrc/sun/awt/X11/generator/sizer.32] Error 1
      make381[2]: Leaving directory `/net/foo/user1/jdk8/jdk/make/sun/xawt'
      make381[1]: *** [all] Error 1
      make381[1]: Leaving directory `/net/foo/user1/jdk8/jdk/make/sun'
      make381: *** [all] Error 1

      Attachments

        Activity

          People

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: