Java Compiler Build Failure
Doug Kehn
rdkehn@yahoo.com
Thu Apr 15 03:02:00 GMT 2010
Hi All,
Using crosstool-ng-1.6.1 I'm attempting to build an arm-cortex_a8-linux-gnueabi toolchain with a java compiler. The build fails with the error provided below. The config I'm using is attached. Any assistance would be greatly appreciated.
Thanks,
...doug
---8<---------
[ALL ] libtool: compile: /home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc/./gcc/xgcc -shared-libgcc -B/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc/./gcc -nostdinc++ -L/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc/arm-cortex_a8-linux-gnueabi/libstdc++-v3/src -L/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc/arm-cortex_a8-linux-gnueabi/libstdc++-v3/src/.libs -B/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/arm-cortex_a8-linux-gnueabi/bin/ -B/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/arm-cortex_a8-linux-gnueabi/lib/ -isystem /opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/arm-cortex_a8-linux-gnueabi/include -isystem
/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/arm-cortex_a8-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava -I./include -I./gcj -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava -Iinclude -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/include -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/classpath/include -Iclasspath/include -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/classpath/native/fdlibm -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/../boehm-gc/include -I../boehm-gc/include -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/libltdl
-I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/libltdl -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/.././libjava/../gcc -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/../zlib -I/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE -DPREFIX="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403" -DTOOLEXECLIBDIR="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/arm-cortex_a8-linux-gnueabi/lib" -DJAVA_HOME="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403" -DBOOT_CLASS_PATH="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/share/java/libgcj-4.4.0.jar"
-DJAVA_EXT_DIRS="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/share/java/ext" -DGCJ_ENDORSED_DIRS="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/share/java/gcj-endorsed" -DGCJ_VERSIONED_LIBDIR="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/lib/gcj-4.4.0-10" -DPATH_SEPARATOR=":" -DECJ_JAR_FILE="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/share/java/ecj.jar" -DLIBGCJ_DEFAULT_DATABASE="/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/lib/gcj-4.4.0-10/classmap.db" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="gcj-4.4.0-10/classmap.db" -g -Os -MT posix-threads.lo -MD -MP -MF .deps/posix-threads.Tpo -c /home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/posix-threads.cc -o posix-threads.o >/dev/null 2>&1
[ALL ] here=`pwd`; cd /home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/src/gcc-4.4.0/libjava/classpath/lib; find gnu java javax org sun -name .svn -prune -o -name '*.class' -print | jar -cfM@ $here/libgcj-4.4.0.jar
[ERROR] jar: internal error:
[ALL ] java.lang.NullPointerException
[ALL ] at gnu.classpath.tools.jar.Creator.writeCommandLineEntries(libgcj-tools.so.10)
[ALL ] at gnu.classpath.tools.jar.Creator.run(libgcj-tools.so.10)
[ALL ] at gnu.classpath.tools.jar.Main.run(libgcj-tools.so.10)
[ALL ] at gnu.classpath.tools.jar.Main.main(libgcj-tools.so.10)
[ERROR] make[4]: *** [libgcj-4.4.0.jar] Error 1
[ALL ] make[4]: Leaving directory `/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc/arm-cortex_a8-linux-gnueabi/libjava'
[ERROR] make[3]: *** [all-recursive] Error 1
[ALL ] make[3]: Leaving directory `/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc/arm-cortex_a8-linux-gnueabi/libjava'
[ERROR] make[2]: *** [all-target-libjava] Error 2
[ALL ] make[2]: Leaving directory `/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc'
[ERROR] make[1]: *** [all] Error 2
[ALL ] make[1]: Leaving directory `/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/toolchains/pu/targets/arm-cortex_a8-linux-gnueabi/build/build-cc'
[ERROR] Build failed in step 'Installing final compiler'
[ERROR] Error happened in '/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/scripts/build/cc/gcc.sh' at line # 350 in function 'do_cc'
[ERROR] called from '/home/dkehn/devl/crosstool-ng/crosstool-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main'
[ERROR] Look at '/opt/x-tools/arm-cortex_a8-linux-gnueabi-20100403/build.log' for more info on this error.
[ERROR] (elapsed: 74:44.60)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config
Type: application/octet-stream
Size: 9243 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100415/4d5df2b6/attachment.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list