[Bug bootstrap/44959] [4.6 Regression] bootstrap failed at Comparing stages 2 and 3
htl10 at users dot sourceforge.net
gcc-bugzilla@gcc.gnu.org
Mon Dec 30 04:26:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959
--- Comment #42 from Hin-Tak Leung <htl10 at users dot sourceforge.net> ---
(In reply to ro@CeBiTec.Uni-Bielefeld.DE from comment #40)
<snipped>
> if GNU cmp is installed. compare-debug doesn't take this into account,
> so if I manually run this code snippet from configure
>
> if echo "int f (void) { return 0; }" > conftest.c &&
> ${CC} -c conftest.c &&
> mv conftest.o conftest.o.g0 &&
> ${CC} -c -g conftest.c &&
> mv conftest.o conftest.o.g &&
> ${srcdir}/contrib/compare-debug conftest.o.g0 conftest.o.g
> then
> echo bootstrap-debug
> else
> echo none
> fi
>
> with CC and srcdir set appropriately, I get none for CC=gcc-4.4 and CC=cc.
>
> Please try this on your system and tell us how you end up with
> bootstrap-debug instead of none.
<snipped>
I did export CC="gcc" and srcdir="/home/htl10/tmp-build/gcc-4.6.4" and cut and
paste the above code interactively into the console, and found that it was
prompting me for overwriting:
overwrite conftest.o.g0?
overwrite conftest.o.g?
(obviously that depends on configure being re-run twice, or doing it in a
directory previously had configure run once). Does configure re-run itself?
Anyway, if this is the problem, this probably explain how I managed to build
4.6.1 once. My user account doesn't have a bashrc, but the root account alias
mv to:
----------
mv () {
command mv -i $@;
}
----------
More information about the Gcc-bugs
mailing list