This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

3.0 branch bootstraps failing while creating libgcj.la


For the past couple of days bootstraps have been failing.
This only happens using:
#!/bin/sh

export CFLAGS='-Os -march=i686'
export CXXFLAGS='-Os -march=i686 -fno-implicit-templates'
export STAGE1_CFLAGS='-Os -march=i686'
export BOOT_CFLAGS='-g -Os -march=i686'
export TCFLAGS='-g -Os -march=athlon'
export OPTIMIZE_CXXFLAGS='-g -Os -march=athlon -fno-implicit-templates'
export TCL_LIBRARY="/usr/lib/tcl8.3"
export DEJAGNULIBS="/usr/share/dejagnu"

/usr/src/cvs/gcc-3.0/configure --verbose --enable-threads=posix --with-system-zlib --with-dwarf2 \
 --enable-shared --disable-nls --enable-checking > conf.log 2>&1

make -e bootstrap > build.log 2>&1
 
On another computer (Pentium IV) using similar script, but all march=i686
I am finishing the bootstrap & test fine.

creating libgcj.la
(cd .libs && rm -f libgcj.la && ln -s ../libgcj.la libgcj.la)
/bin/sh ./libtool --tag=GCJ --mode=link /usr/local/src/build/gcc-3.0/gcc/gcj -B/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/ -B/usr/local/src/build/gcc-3.0/gcc/ -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava -ffloat-store -g -O2   -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib -shared-libgcc  gnu/gcj/convert/BytesToUnicode.lo gnu/gcj/convert/Convert.lo gnu/gcj/convert/Input_8859_1.lo gnu/gcj/convert/Input_ASCII.lo gnu/gcj/convert/Input_EUCJIS.lo gnu/gcj/convert/Input_JavaSrc.lo gnu/gcj/convert/Input_SJIS.lo gnu/gcj/convert/Input_UTF8.lo gnu/gcj/convert/Input_iconv.lo gnu/gcj/convert/IOConverter.lo gnu/gcj/convert/Output_8859_1.lo gnu/gcj/convert/Output_ASCII.lo gnu/gcj/convert/Output_EUCJIS.lo gnu/gcj/convert/Output_JavaSrc.lo gnu/gcj/convert/Output_SJIS.lo gnu/gcj/convert/Output_UTF8.lo gnu/gcj/convert/Output_iconv.lo gnu/gcj/convert/UnicodeToBytes.lo libgcj.la ./../boehm-gc/libgcjgc.la -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/../boehm-gc/.libs -lpthread -lz -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/.libs
/usr/local/src/build/gcc-3.0/gcc/gcj -B/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/ -B/usr/local/src/build/gcc-3.0/gcc/ -ffloat-store -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc gnu/gcj/convert/.libs/BytesToUnicode.o gnu/gcj/convert/.libs/Convert.o gnu/gcj/convert/.libs/Input_8859_1.o gnu/gcj/convert/.libs/Input_ASCII.o gnu/gcj/convert/.libs/Input_EUCJIS.o gnu/gcj/convert/.libs/Input_JavaSrc.o gnu/gcj/convert/.libs/Input_SJIS.o gnu/gcj/convert/.libs/Input_UTF8.o gnu/gcj/convert/.libs/Input_iconv.o gnu/gcj/convert/.libs/IOConverter.o gnu/gcj/convert/.libs/Output_8859_1.o gnu/gcj/convert/.libs/Output_ASCII.o gnu/gcj/convert/.libs/Output_EUCJIS.o gnu/gcj/convert/.libs/Output_JavaSrc.o gnu/gcj/convert/.libs/Output_SJIS.o gnu/gcj/convert/.libs/Output_UTF8.o gnu/gcj/convert/.libs/Output_iconv.o gnu/gcj/convert/.libs/UnicodeToBytes.o  -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava ./.libs/libgcj.so -ldl ./../boehm-gc/.libs/libgcjgc.so -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/../boehm-gc/.libs -lpthread -lz -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/.libs -Wl,--rpath -Wl,/usr/local/lib
/build/gcc-3.0/i686-pc-linux-gnu/libjava ./.libs/libgcj.so -ldl ./../boehm-gc/.libs/libgcjgc.so -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/../boehm-gc/.libs -lpthread -lz -L/usr/local/src/build/gcc-3.0/i686-pc-linux-gnu/libjava/.libs -Wl,--rpath -Wl,/usr/local/lib
./.libs/libgcj.so: undefined reference to `_Jv_Field* _Jv_JNI_GetAnyFieldID<false>(_Jv_JNIEnv*, java::lang::Class*, char const*, char const*)'
./.libs/libgcj.so: undefined reference to `void _Jv_JNI_CallAnyVoidMethodV<(invocation_type)1>(_Jv_JNIEnv*, java::lang::Object*, java::lang::Class*, _Jv_Method*, void*)'
./.libs/libgcj.so: undefined reference to `short _Jv_JNI_CallMethod<short>(_Jv_JNIEnv*, java::lang::Object*, _Jv_Method*, ...)'
./.libs/libgcj.so: undefined reference to `int _Jv_JNI_CallMethod<int>(_Jv_JNIEnv*, java::lang::Object*, _Jv_Method*, ...)'
./.libs/libgcj.so: undefined reference to `double _Jv_JNI_CallAnyMethodV<double, (invocation_type)1>(_Jv_JNIEnv*, java::lang::Object*, java::lang::Class*, _Jv_Method*, void*)'
./.libs/libgcj.so: undefined reference to `java::lang::Object* _Jv_JNI_CallStaticMethodV<java::lang::Object*>(_Jv_JNIEnv*, java::lang::Class*, _Jv_Method*, void*)'
...
...
<many more undefined references follow (~175)>



-- 
Gordon Sadler


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]