This is the mail archive of the 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: bubblestrap on the 3.4 branch?

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 <>
2004-05-25 Daniel Jacobowitz <>
Jim Wilson, GNU Tools Support,

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