Re: [Jamvm-general] Crash running OpenJDK 8 build.tools.generatenimbus.Generator, a regression sinc
Brought to you by:
rlougher
From: Xerxes R. <xe...@za...> - 2013-04-26 14:27:10
|
2013-04-26 16:07, Robert Lougher skrev: > Hi Xerxes, > > On 26 April 2013 13:10, Xerxes Rånby <xe...@za...> wrote: >> >> Unfortunally I still see some issues related to isAnnotationPresent on this >> 32bit x86 system: >> I am using your latest commit b0651cde57c7a48651c99d7f4fb44ba7b2fae9b3 >> > > Must be the difference in the version of OpenJDK 8 I'm using - I'm not > sure what version it is - I downloaded it about 2 weeks ago. Can you > provide some instructions to get the version of IcedTea you're using? > > Thanks, > Rob. Setup instructions: #install icedtea build dependencies if needed sudo apt-get build-dep openjdk-7 #first checkout the current icedtea 3 hg hg clone http://icedtea.classpath.org/hg/icedtea cd icedtea #patch icedtea with the attached patch inside this mail patch -p1 < ../icedtea-3-jamvm-2013-04-26.patch #patching file ChangeLog #patching file Makefile.am #patching file NEWS #now run autogen ./autogen.sh #create a build directory mkdir ../icedtea-build cd ../icedtea-build #configure the build # on some machines you need to pass --with-jdk-home=/usr/lib/jvm/java-7-openjdk-i386 ../icedtea/configure --enable-jamvm #run make make #heads up #On my machine I run into an annoying build issue before hitting the jamvm bug described above #during linking of pack200 http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1413 #the workaround on my machine is to rerun the failed gcc command with -lz at the end cd openjdk-boot/jdk/makefiles /usr/bin/gcc-4.6 -lz -Xlinker --hash-style=both -Xlinker -z -Xlinker defs -Xlinker -O1 -Xlinker --allow-shlib-undefined -Xlinker -soname=libunpack.so -Xlinker -z -Xlinker origin -Xlinker -rpath -Xlinker \$ORIGIN -lc -Xlinker -version-script=/home/xranby/icedtea-8-b80/openjdk-boot/jdk/makefiles/mapfiles/libunpack/mapfile-vers-unpack200 -o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/unpack200 /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/bands.o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/bytes.o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/coding.o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/main.o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/unpack.o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/utils.o /home/xranby/icedtea-8-b80/openjdk.build-boot/jdk/objs/unpackexe/zip.o -lstdc++ -lz cd ../../../ #and then restart make make #the build will then continue to the point where it fails to generate the nimbus code using jamvm. Cheers Xerxes |