multilib trouble with java

Thomas Fitzsimmons fitzsim@redhat.com
Thu Jun 15 17:27:00 GMT 2006


Geoff Keating wrote:
> 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:

Yes, I'm testing a fix now.

Tom

> 
> ------------------------------------------------------------------------
> 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)
> 



More information about the Gcc-regression mailing list