<div><div>Hi, I downloaded a most recent version of OpenJDK and tried to install it on a 32-bit Linux platform. But the build failed with an error of "/home/dli/openjdk7/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/libjvm.so: undefined reference to `Verifier::verify(instanceKlassHandle, Verifier::Mode, Thread*)". </div>
<div><br class="webkit-block-placeholder"></div><div>Any help will be appreciated. Details of error message and "make sanity" output are followed:</div><div><br class="webkit-block-placeholder"></div><div>=================Screen snapshot =============================</div>
<div>make[5]: Entering directory `/home/dli/openjdk7/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'</div><div>{ \</div><div> echo Linking launcher...; \</div><div> \</div><div> gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586 -export-dynamic -L `pwd` -o gamma launcher.o -ljvm -lm -ldl -lpthread; \</div>
<div> \</div><div> }</div><div>Linking launcher...</div><div>/home/dli/openjdk7/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/libjvm.so: undefined reference to `Verifier::verify(instanceKlassHandle, Verifier::Mode, Thread*)'</div>
<div>collect2: ld returned 1 exit status</div><div>make[5]: *** [gamma] Error 1</div><div>make[5]: Leaving directory `/home/dli/openjdk7/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'</div><div>make[4]: *** [the_vm] Error 2</div>
<div>make[4]: Leaving directory `/home/dli/openjdk7/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product'</div><div>make[3]: *** [product] Error 2</div><div>make[3]: Leaving directory `/home/dli/openjdk7/build/linux-i586/hotspot/outputdir'</div>
<div>make[2]: *** [generic_build2] Error 2</div><div>make[2]: Leaving directory `/home/dli/openjdk7/hotspot/make'</div><div>make[1]: *** [product] Error 2</div><div>make[1]: Leaving directory `/home/dli/openjdk7/hotspot/make'</div>
<div>make: *** [hotspot-build] Error 2</div><div>=============================================<br></div></div><div><br class="webkit-block-placeholder"></div>Below is "make sanity" message.<div><br class="webkit-block-placeholder">
</div><div>===============Output of make sanity==============</div><div>(cd ./deploy/make && \</div><div> make sanity JDK_TOPDIR=/home/dli/openjdk7/jdk JDK_MAKE_SHARED_DIR=/home/dli/openjdk7/jdk/make/common/shared EXTERNALSANITYCONTROL=true TARGET_CLASS_VERSION=5 MILESTONE=Frame-Pointer BUILD_NUMBER=Dli JDK_BUILD_NUMBER=Dli FULL_VERSION=1.7.0-Frame-Pointer-Dli PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=Dli ANT_HOME="/home/dli/ant" FINDBUGS_HOME="/home/dli/findbugs-1.3.0" ALT_OUTPUTDIR=/home/dli/openjdk7/build/linux-i586 )</div>
<div>make[1]: Entering directory `/home/dli/openjdk7/deploy/make'</div><div>make[1]: Leaving directory `/home/dli/openjdk7/deploy/make'</div><div>make[1]: Entering directory `/home/dli/openjdk7/jdk/make'</div>
<div>make[1]: Leaving directory `/home/dli/openjdk7/jdk/make'</div><div><br class="webkit-block-placeholder"></div><div>Build Machine Information:</div><div> build machine = <a href="http://terryxian.unl.edu">terryxian.unl.edu</a></div>
<div><br class="webkit-block-placeholder"></div><div>Build Directory Structure:</div><div> CWD = /home/dli/openjdk7</div><div> TOPDIR = .</div><div> CONTROL_TOPDIR = .</div><div> LANGTOOLS_TOPDIR = ./langtools</div>
<div> JAXP_TOPDIR = ./jaxp</div><div> JAXWS_TOPDIR = ./jaxws</div><div> CORBA_TOPDIR = ./corba</div><div> HOTSPOT_TOPDIR = ./hotspot</div><div> JDK_TOPDIR = ./jdk</div><div> DEPLOY_TOPDIR = ./deploy</div><div>
INSTALL_TOPDIR = ./install</div><div><br class="webkit-block-placeholder"></div><div>Build Directives:</div><div> BUILD_LANGTOOLS = false</div><div> BUILD_JAXP = true</div><div> BUILD_JAXWS = true</div><div> BUILD_CORBA = true</div>
<div> BUILD_HOTSPOT = true</div><div> BUILD_JDK = true</div><div> BUILD_DEPLOY = true</div><div> BUILD_INSTALL = false</div><div><br class="webkit-block-placeholder"></div><div>Hotspot Settings:</div><div> HOTSPOT_BUILD_JOBS =</div>
<div> HOTSPOT_OUTPUTDIR = /home/dli/openjdk7/build/linux-i586/hotspot/outputdir</div><div> HOTSPOT_EXPORT_PATH = /home/dli/openjdk7/build/linux-i586/hotspot/import</div><div><br class="webkit-block-placeholder">
</div><div>Bootstrap Settings:<br></div><div> BOOTDIR = /home/dli/jdk1.6.0_03</div><div> ALT_BOOTDIR = /home/dli/jdk1.6.0_03</div><div> BOOT_VER = 1.6 [requires at least 1.5]</div><div> OUTPUTDIR = /home/dli/openjdk7/build/linux-i586</div>
<div> ALT_OUTPUTDIR = /home/dli/openjdk7/build/linux-i586</div><div> ABS_OUTPUTDIR = /home/dli/openjdk7/build/linux-i586</div><div><br class="webkit-block-placeholder"></div><div>Build Tool Settings:</div><div> SLASH_JAVA = /NOT-SET</div>
<div> ALT_SLASH_JAVA =</div><div> VARIANT = OPT</div><div> JDK_DEVTOOLS_DIR = /home/dli/openjdk7</div><div> ALT_JDK_DEVTOOLS_DIR = /home/dli/openjdk7</div><div> ANT_HOME = /home/dli/ant</div><div><div> FINDBUGS_HOME = /home/dli/findbugs-1.3.0</div>
<div> UNIXCOMMAND_PATH = /bin/</div><div> ALT_UNIXCOMMAND_PATH =</div><div> COMPILER_PATH = /usr/bin/</div><div> ALT_COMPILER_PATH =</div><div> DEVTOOLS_PATH = /usr/bin/</div><div> ALT_DEVTOOLS_PATH = /usr/bin</div>
<div> UNIXCCS_PATH = /usr/ccs/bin/</div><div> ALT_UNIXCCS_PATH =</div><div> USRBIN_PATH = /usr/bin/</div><div> ALT_USRBIN_PATH =</div><div> GCC29_COMPILER_PATH = /home/dli/openjdk7/linux/gcc29/usr/</div><div> ALT_GCC29_COMPILER_PATH =</div>
<div> COMPILER_NAME = GCC</div><div> COMPILER_VERSION =</div><div> CC_VER = 3.4 [requires at least 3.2]</div><div> ZIP_VER = 2.3 [requires at least 2.2]</div><div> UNZIP_VER = 5.51 [requires at least 5.12]</div><div>
ANT_VER = 1.7 [requires at least 1.6.3]</div><div> FINDBUGS_VER = 1.3 [requires at least 1.1]</div><div> TEMPDIR = /home/dli/openjdk7/build/linux-i586/tmp</div><div><br class="webkit-block-placeholder"></div><div>Build Directives:</div>
<div> OPENJDK =</div><div> USE_HOTSPOT_INTERPRETER_MODE =</div><div> PEDANTIC =</div><div> DEV_ONLY = true</div><div> NO_DOCS =</div><div> NO_IMAGES =</div><div> TOOLS_ONLY =</div><div> INSANE = true</div><div> COMPILE_APPROACH = parallel</div>
<div> PARALLEL_COMPILE_JOBS = 2</div><div> ALT_PARALLEL_COMPILE_JOBS =</div><div> FASTDEBUG =</div><div> COMPILER_WARNINGS_FATAL = false</div><div><div> COMPILER_WARNING_LEVEL =</div><div> INCREMENTAL_BUILD = false</div>
<div> CC_HIGHEST_OPT = -O3</div><div> CC_HIGHER_OPT = -O3</div><div> CC_LOWER_OPT = -O2</div><div> CXXFLAGS = -O2 -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN</div>
<div> CFLAGS = -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN</div><div> BOOT_JAVA_CMD = /home/dli/jdk1.6.0_03/bin/java -client -Xmx344m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m</div>
<div> BOOT_JAVAC_CMD = /home/dli/jdk1.6.0_03/bin/javac -J-XX:ThreadStackSize=768 -J-client -J-Xmx344m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii</div><div> BOOT_JAR_CMD = /home/dli/jdk1.6.0_03/bin/jar</div>
<div> BOOT_JARSIGNER_CMD = /home/dli/jdk1.6.0_03/bin/jarsigner</div><div> JAVAC_CMD = /home/dli/jdk1.6.0_03/bin/javac -J-XX:ThreadStackSize=768 -J-client -J-Xmx344m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -source 1.5 -target 5 -encoding ascii -Xbootclasspath:/home/dli/openjdk7/build/linux-i586/classes</div>
<div> JAVAH_CMD = /home/dli/jdk1.6.0_03/bin/javah -bootclasspath /home/dli/openjdk7/build/linux-i586/classes</div><div> JAVADOC_CMD = /home/dli/jdk1.6.0_03/bin/javadoc -J-client -J-Xmx344m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m</div>
<div><br class="webkit-block-placeholder"></div><div>Build Platform Settings:</div><div> USER = dli</div><div> PLATFORM = linux</div><div> ARCH = i586</div><div> LIBARCH = i386</div><div> ARCH_FAMILY = i586</div><div>
ARCH_DATA_MODEL = 32</div><div> ARCHPROP = i386</div><div> LINUX_VERSION = 3 (Heidelberg)</div><div> ALSA_VERSION = 1.0.6</div><div> OS_VERSION = 2.6.17 [requires at least 2.4.9-e.3]</div><div> OS_NAME = linux</div>
<div> TEMP_FREE_SPACE = 2507836</div><div> FREE_SPACE = 2507836</div><div> MB_OF_MEMORY = 472</div><div><br class="webkit-block-placeholder"></div><div>GNU Make Settings:</div><div> MAKE = make</div><div> MAKE_VER = 3.80 [requires at least 3.78]</div>
<div> MAKECMDGOALS = sanity</div><div> MAKEFLAGS = w</div><div> SHELL = /bin/sh</div><div><br class="webkit-block-placeholder"></div><div>Target Build Versions:</div><div> JDK_VERSION = 1.7.0</div><div> MILESTONE = Frame-Pointer</div>
<div> RELEASE = 1.7.0-Frame-Pointer</div><div> FULL_VERSION = 1.7.0-Frame-Pointer-Dli</div><div> BUILD_NUMBER = Dli</div><div><br class="webkit-block-placeholder"></div><div>External File/Binary Locations:</div><div> USRJDKINSTANCES_PATH = /opt/java</div>
<div> BUILD_JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries</div><div> ALT_BUILD_JDK_IMPORT_PATH =</div><div> JDK_IMPORT_PATH = /home/dli/jdk1.6.0_03</div><div> ALT_JDK_IMPORT_PATH = /home/dli/jdk1.6.0_03</div>
<div> LANGTOOLS_DIST =</div><div> ALT_LANGTOOLS_DIST =</div><div> CORBA_DIST = /home/dli/openjdk7/build/linux-i586/corba/dist</div><div> ALT_CORBA_DIST = /home/dli/openjdk7/build/linux-i586/corba/dist</div><div> JAXP_DIST = /home/dli/openjdk7/build/linux-i586/jaxp/dist</div>
<div> ALT_JAXP_DIST = /home/dli/openjdk7/build/linux-i586/jaxp/dist</div><div><div> JAXWS_DIST = /home/dli/openjdk7/build/linux-i586/jaxws/dist</div><div> ALT_JAXWS_DIST = /home/dli/openjdk7/build/linux-i586/jaxws/dist</div>
<div> HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR</div><div> ALT_HOTSPOT_DOCS_IMPORT_PATH =</div><div> HOTSPOT_IMPORT_PATH = /home/dli/openjdk7/build/linux-i586/hotspot/import</div><div> ALT_HOTSPOT_IMPORT_PATH = /home/dli/openjdk7/build/linux-i586/hotspot/import</div>
<div> HOTSPOT_CLIENT_PATH = /home/dli/openjdk7/build/linux-i586/hotspot/import/jre/lib/i386/client</div><div> ALT_HOTSPOT_CLIENT_PATH =</div><div> HOTSPOT_SERVER_PATH = /home/dli/openjdk7/build/linux-i586/hotspot/import/jre/lib/i386/server</div>
<div> ALT_HOTSPOT_SERVER_PATH =</div><div> CACERTS_FILE = /home/dli/openjdk7/jdk/src/share/lib/security/cacerts</div><div> ALT_CACERTS_FILE =</div><div> MOZILLA_HEADERS_PATH = /home/dli/openjdk7/share/plugin</div>
<div> ALT_MOZILLA_HEADERS_PATH = /home/dli/openjdk7/share/plugin</div><div> CUPS_HEADERS_PATH = /usr/include</div><div> ALT_CUPS_HEADERS_PATH =</div><div><br class="webkit-block-placeholder"></div><div>OPENJDK Export Binary Plug Settings:</div>
<div> PLUG_EXPORT_DIRNAME =</div><div> PLUG_LIBRARY_NAMES =</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>WARNING: You are building in 'INSANE' mode. You</div>
<div> should not use this mode, and in fact,</div><div> it may be removed at any time. If you</div><div> have build problems as a result of using</div><div> INSANE mode, then you should not expect</div>
<div> assistance from anyone with the problems</div><div> or consequences you experience.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: You are not building the LANGTOOLS sources.</div>
<div> Lang tools (javac) will be obtained from</div><div> the location set in ALT_JDK_IMPORT_PATH.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: You are not building the INSTALL sources.</div>
<div> This will result in a development-only</div><div> build of the JDK, lacking the installation bundles</div><div><br class="webkit-block-placeholder"></div><div>WARNING: Your build environment has the variable DEV_ONLY</div>
<div> defined. This will result in a development-only</div><div> build of the JDK, lacking the documentation</div><div> build and installation bundles.</div><div><br class="webkit-block-placeholder">
</div><div>WARNING: You are building in 'INSANE' mode. You</div><div> should not use this mode, and in fact,</div><div> it may be removed at any time. If you</div><div> have build problems as a result of using</div>
<div> INSANE mode, then you should not expect</div><div> assistance from anyone with the problems</div><div> or consequences you experience.</div><div><br class="webkit-block-placeholder"></div><div>
WARNING: This machine appears to only have 472Mb of physical memory,</div><div> builds on this machine could be slow.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: The official linux builds use OS version 2.4.9-e.3.</div>
<div> You appear to be using OS version 2.6.17.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: The build is being done on Linux 3 (Heidelberg).</div><div><div> The official linux builds use Linux Advanced Server,</div>
<div> specifically Linux Advanced Server release 2.1AS.</div><div> The version found was '2.6.17'.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: The linux compiler is not version 3.2</div>
<div> Specifically the GCC compiler.</div><div> You appear to be using compiler version: 3.4</div><div> The compiler was obtained from the following location:</div><div> /usr/bin/</div><div><br class="webkit-block-placeholder">
</div><div>WARNING: You are building in 'INSANE' mode. You</div><div> should not use this mode, and in fact,</div><div> it may be removed at any time. If you</div><div> have build problems as a result of using</div>
<div> INSANE mode, then you should not expect</div><div> assistance from anyone with the problems</div><div> or consequences you experience.</div><div><br class="webkit-block-placeholder"></div><div>
WARNING: The BUILD_NUMBER needs to contain b[0-9][0-9]*. Currently BUILD_NUMBER=Dli.</div><div> This has been known to cause build failures.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: This machine appears to only have 472Mb of physical memory,</div>
<div> builds on this machine could be slow.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: The official linux builds use OS version 2.4.9-e.3.</div><div> You appear to be using OS version 2.6.17.</div>
<div><br class="webkit-block-placeholder"></div><div>WARNING: The build is being done on Linux 3 (Heidelberg).</div><div> The official linux builds use Linux Advanced Server,</div><div> specifically Linux Advanced Server release 2.1AS.</div>
<div> The version found was '2.6.17'.</div><div><br class="webkit-block-placeholder"></div><div>WARNING: The linux compiler is not version 3.2</div><div> Specifically the GCC compiler.</div><div> You appear to be using compiler version: 3.4</div>
<div> The compiler was obtained from the following location:</div><div> /usr/bin/</div><div><br class="webkit-block-placeholder"></div><div>INSANE mode requested.</div><div> Sanity will not force a build termination, even with errors.</div>
</div></div></div></div>