Mainline bootstrap failure in libjava, i686-pc-linux-gnu

Joseph S. Myers jsm28@cam.ac.uk
Fri Apr 6 16:27:00 GMT 2001


I get the following bootstrap error in libjava on i686-pc-linux-gnu with
current mainline GCC CVS.  Configure options: --prefix=/opt/gcc/snapshot
--disable-shared --enable-threads=posix --with-system-zlib .
(Long lines wrapped.)

/bin/sh ./libtool --mode=link /home/jsm28/src/gcc-build/gcc/gcj \
	-B/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/ \
	-B/home/jsm28/src/gcc-build/gcc/ \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava -ffloat-store \
	-g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath \
	/opt/gcc/snapshot/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/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/../boehm-gc/.libs \
	-lpthread -lz \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/.libs /home/jsm28/src/gcc-build/gcc/gcj \
	-B/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/ \
	-B/home/jsm28/src/gcc-build/gcc/ -ffloat-store -g -O2 -o jv-convert \
	--main=gnu.gcj.convert.Convert -shared-libgcc \
	gnu/gcj/convert/BytesToUnicode.o gnu/gcj/convert/Convert.o \
	gnu/gcj/convert/Input_8859_1.o gnu/gcj/convert/Input_ASCII.o \
	gnu/gcj/convert/Input_EUCJIS.o gnu/gcj/convert/Input_JavaSrc.o \
	gnu/gcj/convert/Input_SJIS.o gnu/gcj/convert/Input_UTF8.o \
	gnu/gcj/convert/Input_iconv.o gnu/gcj/convert/IOConverter.o \
	gnu/gcj/convert/Output_8859_1.o gnu/gcj/convert/Output_ASCII.o \
	gnu/gcj/convert/Output_EUCJIS.o gnu/gcj/convert/Output_JavaSrc.o \
	gnu/gcj/convert/Output_SJIS.o gnu/gcj/convert/Output_UTF8.o \
	gnu/gcj/convert/Output_iconv.o gnu/gcj/convert/UnicodeToBytes.o \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava \
	./.libs/libgcj.a \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/../libstdc++-v3/libsupc++ \
	/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/../libstdc++-v3/libsupc++/.libs/libsupc++.a \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs \
	-lm -L/home/jsm28/src/gcc-build/gcc -lc -lgcc -ldl \
	./../boehm-gc/.libs/libgcjgc.a \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/../boehm-gc/.libs \
	-lpthread -lz \
	-L/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava/.libs \
	-Wl,--rpath -Wl,/opt/gcc/snapshot/lib
/home/jsm28/tmp/tmpdir/ccBHZGFxmain%O: In function `main':
/home/jsm28/tmp/tmpdir/ccdiXYwhmain.i:9: multiple definition of `main'
./.libs/libgcj.a(ffitest.o):/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libffi/../../../gcc-cvs/libffi/src/ffitest.c:208: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 4638 to 39 in /home/jsm28/tmp/tmpdir/ccBHZGFxmain%O
collect2: ld returned 1 exit status
make[3]: *** [jv-convert] Error 1
make[3]: Leaving directory `/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jsm28/src/gcc-build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/jsm28/src/gcc-build'
make: *** [bootstrap] Error 2

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-bugs mailing list