bubblestrap on the 3.4 branch?

James E Wilson wilson@specifix.com
Sat Aug 13 20:38:00 GMT 2005


Christian Joensson wrote:
> 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

This happens sometimes because recursive configure invocations can have 
different variables set than recursive make invocations causing slightly 
different config.cache files to be created depending on how exactly 
configure was invoked in a subdirectory.  So if you configure, cvs 
update, and then type make forcing a recursive make to invoke configure 
in a subdir previously configured via a recursive configure, you may get 
an error.  Just delete the subdir config.cache file and type make again.

Some patches have been added to gcc-4 to try to fix this, though new 
errors in this area sometimes creep back in.

See for instance the following ChangeLog entries in the toplevel 
ChangeLog file
2004-04-15  James E Wilson  <wilson@specifixinc.com>
2004-05-25  Daniel Jacobowitz  <drow@false.org>
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com



More information about the Gcc mailing list