[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool is hiding errors from failed GCC build
From: |
Zack Weinberg |
Subject: |
Re: libtool is hiding errors from failed GCC build |
Date: |
Mon, 5 Nov 2001 19:42:14 -0800 |
User-agent: |
Mutt/1.3.23i |
On Tue, Nov 06, 2001 at 01:22:44AM -0200, Alexandre Oliva wrote:
> On Nov 5, 2001, Bryce McKinlay <address@hidden> wrote:
>
> > We have an i686 bootstrap failure at present in libjava which only
> > occurs when a file is compiled with -fPIC. Confusingly, libtool is
> > hiding this error because it sends output from the -fPIC compilation
> > to /dev/null.
>
> > Alexandre, is this patch ok to install in GCC?
>
> I'm afraid not. If we're to change libtool like this, we should save
> the output of the first and the second runs, and only display it again
> if they differ. The problem is that letting the output go through to
> the stdout while still redirecting it gets tricky if you don't have
> tee.
If you want to avoid warnings in the second compilation, why not just
throw in a -w?
Personally I'd infinitely rather see warnings twice than run the risk
of even *possibly* losing a single error message.
zw