This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
multilib trouble with java
- From: Geoff Keating <geoffk at geoffk dot org>
- To: gcc-regression at gcc dot gnu dot org
- Cc: Thomas Fitzsimmons <fitzsim at redhat dot com>
- Date: Thu, 15 Jun 2006 00:41:29 -0700
- Subject: multilib trouble with java
Between revision 114610 and 114633, GCC trunk started failing to
build on powerpc-darwin, with this error:
/Users/regress/tbox/native/build/./gcc/xgcc -B/Users/regress/tbox/
native/build/./gcc/ -B/Users/regress/tbox/objs/powerpc-apple-
darwin8.5.0/bin/ -B/Users/regress/tbox/objs/powerpc-apple-darwin8.5.0/
lib/ -isystem /Users/regress/tbox/objs/powerpc-apple-darwin8.5.0/
include -isystem /Users/regress/tbox/objs/powerpc-apple-darwin8.5.0/
sys-include -m64 -O2 -g -O2 -m64 -m64 -o gappletviewer gappletviewer-
toolwrapper.o -L/Users/regress/tbox/objs/lib /Users/regress/tbox/
objs-20050712/lib/libgcj.dylib -L/Users/regress/tbox/native/build-
objs-1/build/powerpc-apple-darwin8.0.0/libstdc++-v3/src -L/Users/
regress/tbox/native/build-objs-1/build/powerpc-apple-darwin8.0.0/
libstdc++-v3/src/.libs -L/Users/regress/tbox/native/build-objs-1/
build/powerpc-apple-darwin8.0.0/libjava -lpthread -ldl
ld64 warning: in /Users/regress/tbox/objs-20050712/lib/libgcj.dylib,
file is not of required architecture
can't resolve symbols:
_JNI_CreateJavaVM, referenced from:
_main in gappletviewer-toolwrapper.o
The problem is that it's not being properly bootstrapped;
objs-20050712/lib/libgcj.dylib is the libgcj.dylib in the system
compiler, not the one that was just built.
I'm guessing this is due to this change:
------------------------------------------------------------------------
r114633 | fitzsim | 2006-06-13 20:38:34 -0700 (Tue, 13 Jun 2006) |
122 lines
2006-06-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure: Regenerate.
* Makefile.in: Regenerate.
* configure.ac (--enable-plugin): New option.
(ac_configure_args): Add --enable-tool-wrappers.
(ac_configure_args): Add --disable-plugin unless --enable-
plugin
was specified.
* gcj/Makefile.in: Regenerate.
... (huge ChangeLog entry)
Attachment:
smime.p7s
Description: S/MIME cryptographic signature