public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "jrt at worldlinc dot net" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/53400] New: java build failure with NullPointerException Date: Fri, 18 May 2012 14:51:00 -0000 [thread overview] Message-ID: <bug-53400-8172@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53400 Bug #: 53400 Summary: java build failure with NullPointerException Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned@gcc.gnu.org ReportedBy: jrt@worldlinc.net Compiler: gcc-4.6.1, building gcc-4.6.3 java with options /usr/local/gcc-4.6.3/configure --prefix=/usr --enable-languages=java --disable-bootstrap (I used gcc 4.6.1 to build and test gcc 4.6.3 just recently. disable-bootstrap was used to save time, not going to waste time rebuilding gcc three times just to have java crash. That's the reason why I didn't build gcc-4.6.1 with java. java crashes and the build doesn't finish) Original system java: gcj -v Using built-in specs. Reading specs from /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/libgcj.spec rename spec startfile to startfileorig rename spec lib to liborig Target: i586-manbo-linux-gnu Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --with-bugurl=https://qa.mandriva.com/ --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --build=i586-manbo-linux-gnu --host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror --with-ppl --with-cloog --with-python-dir=/lib/python2.6/site-packages Thread model: posix gcc version 4.4.1 (GCC) System: i686-pc-linux-gnu Options: Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.6.1/lto-wrapper Target: i686-pc-linux-gnu Configured with: /usr/local/gcc-4.6.1/configure --prefix=/usr --enable-languages=c,c++,fortran,lto,objc,ada Thread model: posix gcc version 4.6.1 (GCC) compiler/build messages: libtool: compile: /home/dilbert/bld463/./gcc/xgcc -shared-libgcc -B/home/dilbert/bld463/./gcc -nostdinc++ -L/home/dilbert/bld463/i686-pc-linux-gnu/libstdc++-v3/src -L/home/dilbert/bld463/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/usr/local/gcc-4.6.3/libjava -I./include -I./gcj -I/usr/local/gcc-4.6.3/libjava -Iinclude -I/usr/local/gcc-4.6.3/libjava/include -I/usr/local/gcc-4.6.3/libjava/classpath/include -Iclasspath/include -I/usr/local/gcc-4.6.3/libjava/classpath/native/fdlibm -I/usr/local/gcc-4.6.3/libjava/../boehm-gc/include -I../boehm-gc/include -I/usr/local/gcc-4.6.3/libjava/libltdl -I/usr/local/gcc-4.6.3/libjava/libltdl -I/usr/local/gcc-4.6.3/libjava/.././libjava/../gcc -I/usr/local/gcc-4.6.3/libjava/../zlib -I/usr/local/gcc-4.6.3/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D_FILE_OFFSET_BITS=64 -ffloat-store -fomit-frame-pointer -Usun -Wextra -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -DTOOLEXECLIBDIR=\"/usr/lib\" -DJAVA_HOME=\"/usr\" -DBOOT_CLASS_PATH=\"/usr/share/java/libgcj-4.6.3.jar\" -DJAVA_EXT_DIRS=\"/usr/share/java/ext\" -DGCJ_ENDORSED_DIRS=\"/usr/share/java/gcj-endorsed\" -DGCJ_VERSIONED_LIBDIR=\"/usr/lib/gcj-4.6.3-12\" -DPATH_SEPARATOR=\":\" -DECJ_JAR_FILE=\"\" -DLIBGCJ_DEFAULT_DATABASE=\"/usr/lib/gcj-4.6.3-12/classmap.db\" -DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.6.3-12/classmap.db\" -g -O2 -D_GNU_SOURCE -MT posix-threads.lo -MD -MP -MF .deps/posix-threads.Tpo -c /usr/local/gcc-4.6.3/libjava/posix-threads.cc -o posix-threads.o >/dev/null 2>&1 here=`pwd`; cd /usr/local/gcc-4.6.3/libjava/classpath/lib; \ find gnu java javax org sun -name .svn -prune -o -name '*.class' -print | \ gjar -cfM@ $here/libgcj-4.6.3.jar jar: internal error: java.lang.NullPointerException at gnu.classpath.tools.jar.Creator.writeCommandLineEntries(libgcj-tools.so.10) at gnu.classpath.tools.jar.Creator.run(libgcj-tools.so.10) at gnu.classpath.tools.jar.Main.run(libgcj-tools.so.10) at gnu.classpath.tools.jar.Main.main(libgcj-tools.so.10) make[3]: *** [libgcj-4.6.3.jar] Error 1 make[3]: Leaving directory `/home/dilbert/bld463/i686-pc-linux-gnu/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dilbert/bld463/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/home/dilbert/bld463' make: *** [all] Error 2 The above error message has been given for trying to build java 4.6.1, 4.6.3, and possibly 4.4.x.
next reply other threads:[~2012-05-18 14:51 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-18 14:51 jrt at worldlinc dot net [this message] 2012-05-19 14:30 ` [Bug java/53400] " mark at gcc dot gnu.org 2012-05-19 14:32 ` mark at gcc dot gnu.org 2012-05-19 19:23 ` jrt at worldlinc dot net 2012-05-20 22:23 ` jrt at worldlinc dot net
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-53400-8172@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).