|
From: | Bryce McKinlay |
Subject: | libtool is hiding errors from failed GCC build |
Date: | Tue, 06 Nov 2001 13:16:22 +1300 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 |
Alexandre, is this patch ok to install in GCC? 2001-11-05 Bryce McKinlay <address@hidden> * ltmain.sh: Don't redirect output from PIC compilation. Index: ltmain.sh =================================================================== RCS file: /cvs/gcc/gcc/ltmain.sh,v retrieving revision 1.17 diff -u -r1.17 ltmain.sh --- ltmain.sh 2001/09/01 00:47:19 1.17 +++ ltmain.sh 2001/11/06 00:08:37 @@ -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. regards Bryce. Mark Mitchell wrote:
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?I have noticed this property of libtool before, and agree that it is a misfeature. However, we're only supposed to install libtool changes when they are approved by the libtool developers. Alexandre Oliva is our usual liason to the libtool folks; he is a libtool expert.Please send the patch to him, and to the libtool development team.
[Prev in Thread] | Current Thread | [Next in Thread] |