Problems compiling JVM from Source-- need assistance
While attempting to compile Java 1.5 SE from source according to Sun's
directions (from http://java.sun.com/j2se/1.5.0/scsl/build-linux.html)
we ran into the following error. We haven't encountered anything like
this before, and aren't sure how to proceed. Has anyone here
encountered anything similar? Can anyone suggest a solution, or
things we might try to get more information about what's wrong? We'd
greatly appreciate any assistance.
Some information about our system:
We're running Redhat Advanced Server 2.1 in a virtual machine with an
i686 architecture. (The configuration script autodetects an i586
architecture, and we're not sure why.) We have gcc version 3.2.1
installed, as well as egcs-2.91.66 for the Mozilla headers. Our
gnumake version is 3.78.1. Our bootstrap JVM is J2SDK 1.4.2_11. Our
glibc version is 2.3.2.
/usr/local/bin/gcc -O3 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer
-Di586 -DARCH='"i586"' -DLINUX -DRELEASE='"1.5.0-internal"' -DFULL_VERSION='"1.5.0-internal-asegall_10_jul_2006_1
0_24"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LITTLE_ENDIAN -I. -I/usr/share/jvm/Downloads/jdk-1_5_0
-src-scsl/control/build/linux-i586/tmp/java/verify/CClassHeaders -I../../../src/solaris/javavm/export -I../../../s
rc/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include-I../../../src
/share/javavm/include -Xlinker -O1 -Wl,-soname=libverify.so -Xlinker -version-script=/usr/share/jvm/Downloads/jdk
-1_5_0-src-scsl/control/build/linux-i586/tmp/java/verify/mapfile-vers -z defs -L/usr/share/jvm/Downloads/jdk-1_5_0
-src-scsl/control/build/linux-i586/lib/i386 -static-libgcc -shared -mimpure-text -o /usr/share/jvm/Downloads/jdk-
1_5_0-src-scsl/control/build/linux-i586/lib/i386/libverify.so/usr/share/jvm/Downloads/jdk-1_5_0-src-scsl/contr
ol/build/linux-i586/tmp/java/verify/obj/check_code.o/usr/share/jvm/Downloads/jdk-1_5_0-src-scsl/control/build/
linux-i586/tmp/java/verify/obj/check_format.o-L/usr/share/jvm/Downloads/jdk-1_5_0-src-scsl/control/build/linux-
i586/lib/i386/server -ljvm -lc
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: /usr/share/jvm/Downloads/jdk-
1_5_0-src-scsl/control/build/linux-i586/lib/i386/libverify.so: undefined versioned symbol name __frame_state_for@@GLIBC_2.0
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: failed to set dynamic section
sizes: Bad value
collect2: ld returned 1 exit status
make[5]: *** [/usr/share/jvm/Downloads/jdk-1_5_0-src-scsl/control/build/linux-i586/lib/i386/libverify.so] Error 1

