Building OpenJDK with SunStudio 12u1 on OpenSolaris snv_134

Andreas Kohn andreas.kohn at fredhopper.com
Sun Apr 11 17:48:06 UTC 2010


Hi,

I tried building the latest openjdk forest on opensolaris with the
SunStudio 12u1 (from packages), and it failed for both i586 and amd64
builds with an assertion error.
Switching to an installation of SunStudio 12 worked without problems.

[...]
CC -DSOLARIS -DSPARC_WORKS -DAMD64 -DPRODUCT -xF -I../generated/adfiles
-I../generated/jvmtifiles
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/asm
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ci
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/classfile
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/code
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/compiler
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation
-I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/parNew -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/shared -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/g1 -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_interface -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/interpreter -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/libadt -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/memory -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/oops -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/opto -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/prims -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/runtime -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/services -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/utilities -I/export/home/andreas/jdk7/jdk7/hotspot/src/cpu/x86/vm -I/export/home/andreas/jdk7/jdk7/hotspot/src/os/solaris/vm -I/export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/solaris_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"18.0-b02\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"andreas\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0-internal-andreas_2010_04_11_18_54-b00\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DSOLARIS_7_OR_LATER -m64 -m64 /export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il -template=no%extdef -features=no%split_init -D_Crun_inline_placement -library=%none -KPIC -mt  -xO4  -DVM_LITTLE_ENDIAN  -features=no%except  -DHAVE_DTRACE_H  -DDTRACE_ENABLED -c -o accessFlags.o /export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/utilities/accessFlags.cpp 

assertion failed in function cfg_coalesce_lf_blocks() @ cfg.c:4520
assert(nd_equal_(lab, lf_opnd1_(x_last_lf)))



I attached the full build log and sanity messages, here are the versions
used:

SunOS xentros 5.11 snv_134 i86pc i386 i86pc Solaris
cc: Sun C 5.10 SunOS_i386 2009/06/03
CC: Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21

Is this failure known? The error is reproducibly happening, always for
accessFlags.cpp.


Regards,
--
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typescript.gz
Type: application/x-gzip
Size: 35854 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20100411/7036fa40/typescript.gz>
-------------- next part --------------
Build Machine Information:
   build machine = xentros

Build Directory Structure:
   CWD = /export/home/andreas/jdk7/jdk7
   TOPDIR = .
   CONTROL_TOPDIR = .
   LANGTOOLS_TOPDIR = ./langtools
   JAXP_TOPDIR = ./jaxp
   JAXWS_TOPDIR = ./jaxws
   CORBA_TOPDIR = ./corba
   HOTSPOT_TOPDIR = ./hotspot
   JDK_TOPDIR = ./jdk

Build Directives:
   BUILD_LANGTOOLS = true 
   BUILD_JAXP = true 
   BUILD_JAXWS = true 
   BUILD_CORBA = true 
   BUILD_HOTSPOT = true 
   BUILD_JDK    = true 
   DEBUG_CLASSFILES =  
   DEBUG_BINARIES =  

Hotspot Settings: 
      HOTSPOT_BUILD_JOBS  =  
      HOTSPOT_OUTPUTDIR   = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/outputdir 
      HOTSPOT_EXPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import 
 



Bootstrap Settings:
  BOOTDIR = /usr/jdk/latest
    ALT_BOOTDIR = /usr/jdk/latest
  BOOT_VER = 1.7.0 [requires at least 1.5]
  OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64
    ALT_OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64
  ABS_OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64
 
Build Tool Settings:
  SLASH_JAVA = /NOT-SET
    ALT_SLASH_JAVA = 
  VARIANT = OPT
  JDK_DEVTOOLS_DIR = /NOT-SET/devtools
    ALT_JDK_DEVTOOLS_DIR = 
  ANT_HOME = /export/home/andreas/modules/apache-ant-1.8.0
  UNIXCOMMAND_PATH = /usr/bin/
    ALT_UNIXCOMMAND_PATH = 
  COMPILER_PATH = /opt/sunstudio12.1/bin/
    ALT_COMPILER_PATH = /opt/sunstudio12.1/bin
  DEVTOOLS_PATH = /usr/bin/
    ALT_DEVTOOLS_PATH = 
  UNIXCCS_PATH = /usr/ccs/bin/
    ALT_UNIXCCS_PATH = 
  COMPILER_NAME = Sun Studio 13
  COMPILER_VERSION = SS13
  CC_VER = 5.10 [requires at least 5.9]
  ZIP_VER = 2.32 [requires at least 2.2]
  UNZIP_VER = 5.53 [requires at least 5.12]
  ANT_VER = 1.8.0 [requires at least 1.6.3]
  TEMPDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/tmp
 
Build Directives:
  OPENJDK = true
  USE_HOTSPOT_INTERPRETER_MODE = 
  PEDANTIC = 
  DEV_ONLY = true
  NO_DOCS = 
  NO_IMAGES = 
  TOOLS_ONLY = 
  INSANE = 
  COMPILE_APPROACH = parallel
  PARALLEL_COMPILE_JOBS = 2
    ALT_PARALLEL_COMPILE_JOBS = 
  FASTDEBUG = 
  COMPILER_WARNINGS_FATAL = false
  COMPILER_WARNING_LEVEL = 
  INCREMENTAL_BUILD = false
  CC_HIGHEST_OPT = 
  CC_HIGHER_OPT = 
  CC_LOWER_OPT = 
  CXXFLAGS =  -xO2  -errtags=yes +w -mt -features=no%except -DCC_NOEX -norunpath -xnolib   -xarch=amd64 -KPIC 
  CFLAGS =  -xO2    -L/export/home/andreas/jdk7/jdk7/build/solaris-amd64/tmp/obj64 -xc99=%none -xCC -errshort=tags -Xa  -v -mt -W0,-noglobal  -xarch=amd64 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC 
  BOOT_JAVA_CMD = /usr/jdk/latest/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m
  BOOT_JAVAC_CMD = /usr/jdk/latest/bin/javac  -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -XDignore.symbol.file=true
  BOOT_JAR_CMD = /usr/jdk/latest/bin/jar
  BOOT_JARSIGNER_CMD = /usr/jdk/latest/bin/jarsigner
  JAVAC_CMD = /usr/jdk/latest/bin/javac  -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m  -source 7 -target 7 -encoding ascii -Xbootclasspath:/export/home/andreas/jdk7/jdk7/build/solaris-amd64/classes 
  JAVAH_CMD = /usr/jdk/latest/bin/javah -bootclasspath /export/home/andreas/jdk7/jdk7/build/solaris-amd64/classes
  JAVADOC_CMD = /usr/jdk/latest/bin/javadoc -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -bootclasspath /export/home/andreas/jdk7/jdk7/build/solaris-amd64/classes
 
Build Platform Settings:
  USER = andreas
  PLATFORM = solaris
  ARCH = amd64
  LIBARCH = amd64
  ARCH_FAMILY = i586
  ARCH_DATA_MODEL = 64
  ARCHPROP = amd64
  OS_VERSION = 5.11 [requires at least 5.10]
  OS_VARIANT_NAME = OpenSolaris
  OS_VARIANT_VERSION = 5.11
  TEMP_FREE_SPACE = 2594756
  FREE_SPACE = 19363982
  MB_OF_MEMORY = 3063
 
GNU Make Settings:
  MAKE = make
  MAKE_VER = 3.81 [requires at least 3.78]
  MAKECMDGOALS = sanity
  MAKEFLAGS = w
  SHELL = /bin/sh
 
Target Build Versions:
  JDK_VERSION = 1.7.0
  MILESTONE = internal
  RELEASE = 1.7.0-internal
  FULL_VERSION = 1.7.0-internal-andreas_2010_04_11_18_54-b00
  BUILD_NUMBER = b00
 
External File/Binary Locations:
  USRJDKINSTANCES_PATH = /usr/jdk/instances
  BUILD_JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries
    ALT_BUILD_JDK_IMPORT_PATH = 
  JDK_IMPORT_PATH = /usr/jdk/latest
    ALT_JDK_IMPORT_PATH = /usr/jdk/latest
  LANGTOOLS_DIST = 
    ALT_LANGTOOLS_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/langtools/dist
  CORBA_DIST = 
    ALT_CORBA_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/corba/dist
  JAXP_DIST = 
    ALT_JAXP_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/jaxp/dist
  JAXWS_DIST = 
    ALT_JAXWS_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/jaxws/dist
  HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR
    ALT_HOTSPOT_DOCS_IMPORT_PATH = 
  HOTSPOT_IMPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import
    ALT_HOTSPOT_IMPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import
  HOTSPOT_SERVER_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import/jre/lib/amd64/server
    ALT_HOTSPOT_SERVER_PATH = 
  CACERTS_FILE = /usr/jdk/latest/jre/lib/security/cacerts
    ALT_CACERTS_FILE = /usr/jdk/latest/jre/lib/security/cacerts
  CUPS_HEADERS_PATH = /usr/include
    ALT_CUPS_HEADERS_PATH = /usr/include
 
OpenJDK-specific settings:
  FREETYPE_HEADERS_PATH = /usr/include/freetype2
    ALT_FREETYPE_HEADERS_PATH = /usr/include/freetype2
  FREETYPE_LIB_PATH = /usr/lib
    ALT_FREETYPE_LIB_PATH = 
 
OPENJDK Import Binary Plug Settings:
  IMPORT_BINARY_PLUGS = true
  BINARY_PLUGS_JARFILE = /export/home/andreas/jdk7/openjdk-binary-plugs//jre/lib/rt-closed.jar
    ALT_BINARY_PLUGS_JARFILE = 
  BINARY_PLUGS_PATH = /export/home/andreas/jdk7/openjdk-binary-plugs/
    ALT_BINARY_PLUGS_PATH = /export/home/andreas/jdk7/openjdk-binary-plugs/
  BUILD_BINARY_PLUGS_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs
    ALT_BUILD_BINARY_PLUGS_PATH = 
  PLUG_LIBRARY_NAMES = 
 
Previous JDK Settings:
  PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE
    ALT_PREVIOUS_RELEASE_PATH = 
  PREVIOUS_JDK_VERSION = 1.6.0
    ALT_PREVIOUS_JDK_VERSION = 
  PREVIOUS_JDK_FILE = 
    ALT_PREVIOUS_JDK_FILE = 
  PREVIOUS_JRE_FILE = 
    ALT_PREVIOUS_JRE_FILE = 
  PREVIOUS_RELEASE_IMAGE = /usr/jdk/latest
    ALT_PREVIOUS_RELEASE_IMAGE = 


Hotspot Settings: 
      HOTSPOT_BUILD_JOBS  =  
      HOTSPOT_OUTPUTDIR   = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/outputdir 
      HOTSPOT_EXPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import 
 



More information about the build-dev mailing list