This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libtool vs gcj
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: libtool vs gcj
- From: Richard Henderson <rth at redhat dot com>
- Date: Mon, 15 Jan 2001 17:13:34 -0800
- Cc: gcc-bugs at gcc dot gnu dot org
In testing libjava, I see lots of failures like
Executing on host: /bcpl/int/rth/egcs/build/x86/i686-pc-linux-gnu/libjava/testsuite/../libtool --silent --tag=GCJ --mode=compile /bcpl/int/rth/egcs/build/x86/gcc/gcj -B/bcpl/int/rth/egcs/build/x86/gcc/ -B/bcpl/int/rth/egcs/build/x86/i686-pc-linux-gnu/libjava/testsuite/../ -c -g -o /bcpl/int/rth/egcs/build/x86/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o /bcpl/int/rth/egcs/egcs/libjava/testsuite/libjava.compile/G19990217_02.java (timeout = 300)
mv: `G19990217_02.o' and `/bcpl/int/rth/egcs/build/x86/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o' are the same file
compiler exited with status 1
This appears to be caused by the generated libtool script having
"compiler_c_o=no" in the gcj section. This appears to be due to
trying to compile C with a Java compiler, noticing that it doesn't
work, and deciding that that means that -o is not supported.
Suggestions?
r~