This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
i686 libjava bootstrap failure: libtool trashing error output!
- To: gcc-patches at gcc dot gnu dot org, java at gcc dot gnu dot org
- Subject: i686 libjava bootstrap failure: libtool trashing error output!
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Mon, 05 Nov 2001 10:52:44 +1300
Currently we have a bootstrap failure in libjava on i686:
/home/bryce/cvs/gcc/build/gcc/gcj
-B/home/bryce/cvs/gcc/build/i686-pc-linux-gnu/libjava/
-B/home/bryce/cvs/gcc/build/gcc/ --encoding=UTF-8 -fassume-compiled
-fclasspath=/home/bryce/cvs/gcc/build/i686-pc-linux-gnu/libjava
-L/home/bryce/cvs/gcc/build/i686-pc-linux-gnu/libjava -ffloat-store -g
-O2 -MD -MT java/io/PipedInputStream.lo -MF java/io/PipedInputStream.d
-c ../../../libjava/java/io/PipedInputStream.java -o
java/io/PipedInputStream.o
../../../libjava/java/io/PipedInputStream.java: In class
`java.io.PipedInputStream':
../../../libjava/java/io/PipedInputStream.java: In method
`java.io.PipedInputStream.receive(byte[],int,int)':
../../../libjava/java/io/PipedInputStream.java:207: Internal compiler
error in fixup_abnormal_edges, at reload1.c:9494
(I see the same error on PowerPC also, but only without -O)
Unfortunatly this was not made obvious, because libtool is redirecting
the error to /dev/null!
The intent seems to be to avoid printing the same messages twice in the
case where the input file contains errors. But in this case, where the
compiler bug only occurs with -fPIC, the error is getting lost. This
behaviour seems unneccessary because libtool will return an error
immediatly if the first compilation fails.
OK to install this?
regards
Bryce
2001-11-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* ltmain.sh: Don't redirect output from PIC compilation.
--- ltmain.sh 2001/09/01 00:47:19 1.17
+++ ltmain.sh 2001/11/04 21:49:57
@@ -697,8 +697,6 @@
EOF
- # Allow error messages only from the first compilation.
- suppress_output=' >/dev/null 2>&1'
else
# No PIC object so indicate it doesn't exist in the libtool
# object file.