Re: Bug in Build System of gcc-4.5.1? Dirs Not Removed with 'make distclean'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 27, 2010 at 19:52, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> Tom Browder <tom.browder@xxxxxxxxx> writes:
>
>> When buildin gcc in a directory outside the gcc source tree, a fresh
>> build is normally started with a 'make distclean'.
>>
>> After that command, build subdirectories remain (depending on how far
>> one got in the process):
>>
>>   $ ls -CF
>>   fixincludes/  gcc/  intl/  libcpp/  libdecnumber/
>>
>> Does that affect the next configuration?  It does for me if I change
>> any environment variables.
>>
>> I think a bug report is in order.
>
> The existence of the subdirectories per se should not matter.  If there
> are relevant files in the subdirectories, e.g., config.cache, then of
> course that may matter.  If that happens, please do file a bug report.

I just had it happen:

$ cd gcc_build
$ make distclean
$ ls -aCF
./  ../  fixincludes/  stage_final
$ ../gcc-5.5.1/configure
$ 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:  `/usr/local/src/gcc_build/./gcc/xgcc
-B/usr/local/src/gcc_build/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include   '
configure:   current value: `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

So, Ian, a bug report shall I submit?

Regards,

-Tom

Thomas M. Browder, Jr.
Niceville, Florida
USA



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux