This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new error when reconfiguring gcc
- From: Andreas Schwab <schwab at suse dot de>
- To: Arnaud Charlet <charlet at ACT-Europe dot FR>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 28 Jan 2004 13:21:27 +0100
- Subject: Re: new error when reconfiguring gcc
- References: <20040128124151.A852@dublin.act-europe.fr>
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."