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



             Bug #: 54926

           Summary: [4.8 Regression] Bootstrap comparison failure for

                    various files in libbacktrace

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: bootstrap

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: dang...@gcc.gnu.org

                CC: u...@gcc.gnu.org

              Host: hppa2.0w-hp-hpux11.11

            Target: hppa2.0w-hp-hpux11.11

             Build: hppa2.0w-hp-hpux11.11





Bootstrap comparison failure!

libbacktrace/.libs/dwarf.o differs

libbacktrace/.libs/fileline.o differs

libbacktrace/.libs/posix.o differs

libbacktrace/.libs/print.o differs

libbacktrace/.libs/state.o differs

libbacktrace/.libs/backtrace.o differs

libbacktrace/.libs/simple.o differs

libbacktrace/.libs/unknown.o differs

libbacktrace/.libs/mmapio.o differs

libbacktrace/.libs/mmap.o differs

make[2]: *** [compare] Error 1

make[2]: Leaving directory `/test/gnu/gcc/objdir'

make[1]: *** [stage3-bubble] Error 2

make[1]: Leaving directory `/test/gnu/gcc/objdir'

make: *** [bootstrap] Error 2

Sun Oct 14 17:26:48 EDT 2012



# ./xgcc -B./ -v

Reading specs from ./specs

COLLECT_GCC=./xgcc

COLLECT_LTO_WRAPPER=./lto-wrapper

Target: hppa2.0w-hp-hpux11.11

Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as

--enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.8

--with-gmp=/opt/gnu/gcc/gmp --enable-threads=posix --enable-debug=no

--disable-nls --disable-lto --without-cloog --without-ppl

--enable-languages=c,c++,objc,fortran,java,ada,obj-c++

Thread model: posix

gcc version 4.8.0 20121014 (experimental) [trunk revision 192432] (GCC) 



Problem was introduced in r191981.



# od -c stage3-libbacktrace/.libs/mmap.o >mmap.o.dump3                 

# od -c stage2-libbacktrace/.libs/mmap.o >mmap.o.dump2

# /opt/gnu/bin/diff -u mmap.o.dump2 mmap.o.dump3|less 

--- mmap.o.dump2        Sun Oct 14 18:11:19 2012

+++ mmap.o.dump3        Sun Oct 14 18:11:06 2012

@@ -1427,7 +1427,7 @@

 0054440   B   A   L   _   _   F   _   .   .   _   .   .   _   g   c   c

 0054460   _   l   i   b   b   a   c   k   t   r   a   c   e   _   m   m

 0054500   a   p   .   c   _   5   6   A   F   5   6   2   3   _   0   x

-0054520   6   0   3   1   b   f   a   b  \0  \0  \0  \0  \0  \0  \0 006

+0054520   6   0   b   7   9   d   9   8  \0  \0  \0  \0  \0  \0  \0 006

 0054540   $   D   A   T   A   $  \0  \0  \0  \0  \0 006   $   C   O   D

 0054560   E   $  \0  \0  \0  \0  \0 006   $   C   O   D   E   $  \0  \0

 0054600  \0  \0  \0 006   $   C   O   D   E   $  \0  \0  \0  \0  \0 006



# nm stage3-libbacktrace/.libs/mmap.o >mmap.o.dump3   

# nm stage2-libbacktrace/.libs/mmap.o >mmap.o.dump2

# /opt/gnu/bin/diff -u mmap.o.dump2 mmap.o.dump3|less

--- mmap.o.dump2        Sun Oct 14 18:13:24 2012

+++ mmap.o.dump3        Sun Oct 14 18:13:14 2012

@@ -6,7 +6,7 @@

 00000000 t $CODE$

 00000000 t $CODE$

 40000000 d $DATA$

-40000000 D _GLOBAL__F_.._.._gcc_libbacktrace_mmap.c_56AF5623_0x6031bfab

+40000000 D _GLOBAL__F_.._.._gcc_libbacktrace_mmap.c_56AF5623_0x60b79d98

          U abort

 00000000 T backtrace_alloc

 00000000 T backtrace_free



Problem is random destructor symbol names in files.

Reply via email to