-
Bug
-
Resolution: Won't Fix
-
P4
-
9
-
x86_64
-
solaris_11
I've recently upgraded the Solaris X64 server in my lab from
Solaris 10u11 to Solaris 11.2 SRU5.5. I did the default install
of Solaris 11.2 and the "pkg update" to SRU5.5. I've added
no other packages to the system.
I configured the build with the following cmd:
$ bash configure --with-devkit=/java/devtools/i386/devkit/SS12u4-Solaris11u1 2>&1 | tee devkit.configure.log.0
Please see the attached devkit.configure.log.0 file.
I launched the build with the following cmd:
make381 all 2>&1 | tee devkit.make381.log.0
Please see the attached devkit.make381.log.0 file.
Here's a summary of the build errors:
Compiling 2885 files for java.base
"/usr/include/X11/Xlib.h", line 38: cannot find include file: <sys/types.h>
"/usr/include/X11/Xlib.h", line 51: cannot find include file: <stddef.h>
"/usr/include/X11/Xlib.h", line 1116: syntax error before or at: wchar_t
<snip>
cc: acomp failed for /work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.c
GensrcX11Wrappers.gmk:106: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.exe' failed
gmake[3]: *** [/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.exe] Error 1
gmake[3]: *** Waiting for unfinished jobs....
make/Main.gmk:102: recipe for target 'java.desktop-gensrc-jdk' failed
gmake[2]: *** [java.desktop-gensrc-jdk] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/usr/ccs/bin/bash: -m64: command not found
lib/CompileJvm.gmk:193: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/solaris_x86_64.o' failed
gmake[4]: *** [/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/solaris_x86_64.o] Error 127
gmake[4]: *** Waiting for unfinished jobs....
gmake[3]: *** [variant-server-libs] Error 2
BuildHotspot.gmk:41: recipe for target 'variant-server-libs' failed
gmake[2]: *** [hotspot] Error 1
make/Main.gmk:232: recipe for target 'hotspot' failed
ERROR: Build failed for target 'all' in configuration 'solaris-x86_64-normal-server-release' (exit code 2)
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_solaris_x86_64.o:
/usr/ccs/bin/bash: -m64: command not found
=== End of repeated output ===
=== Make failure sequence repeated here ===
GensrcX11Wrappers.gmk:106: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.exe' failed
make/Main.gmk:102: recipe for target 'java.desktop-gensrc-jdk' failed
lib/CompileJvm.gmk:193: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/solaris_x86_64.o' failed
BuildHotspot.gmk:41: recipe for target 'variant-server-libs' failed
make/Main.gmk:232: recipe for target 'hotspot' failed
=== End of repeated output ===
Hint: Try searching the build log for the name of the first failed target.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.
make381[1]: *** [main] Error 1
make381: *** [all] Error 2
Solaris 10u11 to Solaris 11.2 SRU5.5. I did the default install
of Solaris 11.2 and the "pkg update" to SRU5.5. I've added
no other packages to the system.
I configured the build with the following cmd:
$ bash configure --with-devkit=/java/devtools/i386/devkit/SS12u4-Solaris11u1 2>&1 | tee devkit.configure.log.0
Please see the attached devkit.configure.log.0 file.
I launched the build with the following cmd:
make381 all 2>&1 | tee devkit.make381.log.0
Please see the attached devkit.make381.log.0 file.
Here's a summary of the build errors:
Compiling 2885 files for java.base
"/usr/include/X11/Xlib.h", line 38: cannot find include file: <sys/types.h>
"/usr/include/X11/Xlib.h", line 51: cannot find include file: <stddef.h>
"/usr/include/X11/Xlib.h", line 1116: syntax error before or at: wchar_t
<snip>
cc: acomp failed for /work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.c
GensrcX11Wrappers.gmk:106: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.exe' failed
gmake[3]: *** [/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.exe] Error 1
gmake[3]: *** Waiting for unfinished jobs....
make/Main.gmk:102: recipe for target 'java.desktop-gensrc-jdk' failed
gmake[2]: *** [java.desktop-gensrc-jdk] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/usr/ccs/bin/bash: -m64: command not found
lib/CompileJvm.gmk:193: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/solaris_x86_64.o' failed
gmake[4]: *** [/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/solaris_x86_64.o] Error 127
gmake[4]: *** Waiting for unfinished jobs....
gmake[3]: *** [variant-server-libs] Error 2
BuildHotspot.gmk:41: recipe for target 'variant-server-libs' failed
gmake[2]: *** [hotspot] Error 1
make/Main.gmk:232: recipe for target 'hotspot' failed
ERROR: Build failed for target 'all' in configuration 'solaris-x86_64-normal-server-release' (exit code 2)
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_solaris_x86_64.o:
/usr/ccs/bin/bash: -m64: command not found
=== End of repeated output ===
=== Make failure sequence repeated here ===
GensrcX11Wrappers.gmk:106: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/support/gensrc/java.desktop/_x11wrappers/sizer.64.exe' failed
make/Main.gmk:102: recipe for target 'java.desktop-gensrc-jdk' failed
lib/CompileJvm.gmk:193: recipe for target '/work/shared/bug_hunt/devkit-test-main/build/solaris-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/solaris_x86_64.o' failed
BuildHotspot.gmk:41: recipe for target 'variant-server-libs' failed
make/Main.gmk:232: recipe for target 'hotspot' failed
=== End of repeated output ===
Hint: Try searching the build log for the name of the first failed target.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.
make381[1]: *** [main] Error 1
make381: *** [all] Error 2
- relates to
-
JDK-8196896 Use $(SYSROOT_CFLAGS) whenever we call $(CC).
-
- Open
-
-
JDK-8081676 Verify that configure detects AS on Solaris and print help otherwise
-
- Resolved
-