This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/12869] New: `clean` and `distclean` does not properlyclean previous build
- From: "noloader at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 10 Jun 2011 03:44:00 +0000
- Subject: [Bug build/12869] New: `clean` and `distclean` does not properlyclean previous build
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12869
Summary: `clean` and `distclean` does not properly clean
previous build
Product: gdb
Version: HEAD
Status: NEW
Severity: minor
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: noloader@gmail.com
Originally, I built GDB with:
./configure
make
After running, I examined config.log and thought I might tune the installation
a bit:
./configure CFLAGS="-g -O2 -DNDEBUG -m64 -mtune=core2"
make
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: `-g -O2'
configure: current value: `-g -O2 -DNDEBUG -m64 -mtune=core2'
configure: error: in `/Users/jeffrey/Desktop/gdb-7.2/intl':
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-intl] Error 1
OK, should be no problem:
make distclean
make clean
rm -rf ./config.cache
Start again:
./configure CFLAGS="-g -O2 -DNDEBUG -m64 -mtune=core2"
make
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: `-g -O2'
configure: current value: `-g -O2 -DNDEBUG -m64 -mtune=core2'
configure: error: in `/Users/jeffrey/Desktop/gdb-7.2/intl':
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-intl] Error 1
I forgot how much I disliked automake and friends.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.