public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/45503] New: "make distclean" Does Not Remove All Local Configuration Data
@ 2010-09-02 17:53 tom dot browder at gmail dot com
0 siblings, 0 replies; only message in thread
From: tom dot browder at gmail dot com @ 2010-09-02 17:53 UTC (permalink / raw)
To: gcc-bugs
After an aborted or clean build in a directory outside the gcc source tree,
"make distclean" is supposed to remove all configuration information. However,
that is not the case for at least one target (pdf). Using gcc-4.5.1 in my
build directory (as a bash user):
$ cd gcc_build
$ ../gcc-4.5.1/configure
... # nothing unusual
$ make pdf
... # nothing unusual except pdf target seems to
# result in LOTs of extra compilation
Come back the next day
$ export CC=/usr/local/bin/gcc-4.5.1
$ cd gcc_build
$ make distclean
$ ls -aCF
./ ../ fixincludes/
$ ../gcc-5.5.1/configure
... # nothing unusual
$ make pdf
make[1]: Entering directory `/usr/local/src/gcc_build'
make[2]: Entering directory `/usr/local/src/gcc_build'
make[2]: Leaving directory `/usr/local/src/gcc_build'
Configuring in ./fixincludes
configure: loading cache ./config.cache
configure: error: `CC' has changed since the previous run:
configure: former value: `gcc'
configure: current value: `/usr/local/bin/gcc-4.5.1'
configure: error: in `/usr/local/src/gcc_build/fixincludes':
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]: *** [configure-fixincludes] Error 1
make[1]: Leaving directory `/usr/local/src/gcc_build'
make: *** [do-pdf] Error 2
--
Summary: "make distclean" Does Not Remove All Local Configuration
Data
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tom dot browder at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45503
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-02 17:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02 17:53 [Bug other/45503] New: "make distclean" Does Not Remove All Local Configuration Data tom dot browder at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).