This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: new error when reconfiguring gcc


Arnaud Charlet <charlet@ACT-Europe.FR> writes:

> Since a few days, I keep getting the following error, on mainline:
>
> <<
> configure: loading cache ./config.cache
> configure: error: `LDFLAGS' was not set in the previous run
> configure: error: changes in the environment can compromise the build
> configure: error: run `make distclean' and/or `rm ./config.cache' and start over
> make[1]: *** [config.status] Error 1
> make[1]: Leaving directory `/home/charlet/cvs/gcc-obj/gcc'
> make: *** [all-gcc] Error 2
>>>
>
> Doing rm ./config.cache has no effect and make distclean fails with the
> same error.

Did you try rm gcc/config.cache?  Another workaround is to rm gcc/Makefile
to force rerunning configure from the toplevel.

> It was working fine previousely and is now causing trouble everytime
> configure is redone automatically by the makefile.
>
> Am I the only one to experience this behavior ?

I've seen this too.  I think the problem is that configure-foo passes a
different list of variables than all-foo.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]