http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44959



--- Comment #40 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> 2013-04-15 12:51:20 UTC ---

> --- Comment #39 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 
> 16:13:20 UTC ---

> Can this be reproduced with 4.7.3, 4.8.0 or trunk?



At most on the 4.7 branch: the Tru64 UNIX port was obsoleted in 4.7 and

removed in 4.8.



That said, I've no idea how BUILD_CONFIG would end up as bootstrap-debug

on Tru64 UNIX.  Even compiling the same source file twice produces

object files that aren't identical.  That's the reason config.log has



gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'



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.



    Rainer

Reply via email to