hg: bsd-port/bsd-port/hotspot: 2 new changesets

Henri Gomez henri.gomez at gmail.com
Mon Jan 31 00:32:00 PST 2011


Building with previous release of 32bits OpenJDK 1.7 seems better :

/usr/bin/strip -S
/Users/henri/Documents/hudson/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/j2sdk-image/jre/lib/amd64/server/libjvm.dylib
/usr/bin/strip -S
/Users/henri/Documents/hudson/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/j2sdk-image/jre/lib/amd64/xawt/libmawt.dylib
rm -f /Users/henri/Documents/hudson/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/tmp/jdk-elf-files.list
>>>Making sec-files @ Mon Jan 31 09:25:41 CET 2011 ...
/bin/mkdir -p .
rm -f sec-files
rm -f /Users/henri/Documents/hudson/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/tmp/sec-bin.zip
cd  /Users/henri/Documents/hudson/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64
&& \
		/usr/bin/zip -rq9
/Users/henri/Documents/hudson/data/jobs/openjdk-1.7-bsdport-x86_64/workspace/build/bsd-amd64/tmp/sec-bin.zip
classes/javax/net classes/javax/security/cert classes/com/sun/net/ssl
classes/com/sun/security/cert classes/sun/net/www/protocol/https
classes/sun/security/pkcs12 classes/sun/security/ssl
classes/sun/security/krb5/*.class
classes/sun/security/krb5/internal/*.class
classes/sun/security/krb5/internal/ccache
classes/sun/security/krb5/internal/crypto
classes/sun/security/krb5/internal/ktab
classes/sun/security/krb5/internal/rcache
classes/sun/security/krb5/internal/util
classes/sun/security/jgss/spi/GSSContextSpi.class
>>>Making sec-files-win @ Mon Jan 31 09:25:41 CET 2011 ...
>>>Making jgss-files @ Mon Jan 31 09:25:41 CET 2011 ...
>>>Finished making images @ Mon Jan 31 09:25:41 CET 2011 ...
########################################################################
##### Leaving  jdk for target  sanity all  images                  #####
########################################################################
########################################################################

Control bsd amd64 1.7.0-internal build_product_image build finished:
11-01-31 09:25
Control bsd amd64 1.7.0-internal all_product_build build finished:
11-01-31 09:25
Control bsd amd64 1.7.0-internal all build finished: 11-01-31 09:25
testing build: ./build/bsd-amd64/j2sdk-image/bin/java -version
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-henri_2011_01_31_09_09-b00)
OpenJDK 64-Bit Server VM (build 20.0-b06, mixed mode)

Any ideas why build didn't works with OpenJDK 1.7 64bits ?

2011/1/31 Henri Gomez <henri.gomez at gmail.com>:
> Tried to build OpenJDK 1.7 64bits with previous release OpenJDK 1.7 64bits.
>
> It build but didn't works ;(
>
> gcc -m64   -m64  -L`pwd` -o gamma launcher/java_md.o launcher/java.o
> launcher/jli_util.o launcher/wildcard.o -ljvm -lm -pthread
> All done.
> cd bsd_amd64_compiler2/product && ./test_gamma
> openjdk full version "1.7.0-internal-henri_2011_01_24_18_03-b00"
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
> Using java runtime at:
> /Library/Java/JavaVirtualMachines/openjdk-1.7-x86_64/Contents/Home/jre
> openjdk version "1.7.0-internal"
> OpenJDK Runtime Environment (build 1.7.0-internal-henri_2011_01_24_18_03-b00)
> OpenJDK 64-Bit Server VM (build 20.0-b06, mixed mode)
>
> Exception in thread "main" java.lang.NoClassDefFoundError: Queens
> Caused by: java.lang.ClassNotFoundException: Queens
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> Could not find the main class: Queens.  Program will exit.
> make[4]: *** [product] Error 1
> make[3]: *** [generic_build2] Error 2
> make[2]: *** [product] Error 2
> make[1]: *** [hotspot-build] Error 2
> make: *** [build_product_image] Error 2
> testing build: ./build/bsd-amd64/j2sdk-image/bin/java -version
> ./build64.sh: line 172: ./build/bsd-amd64/j2sdk-image/bin/java: No
> such file or directory
>



More information about the bsd-port-dev mailing list