public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure
@ 2012-02-08 13:44 mexas at bristol dot ac.uk
  2012-02-08 14:24 ` [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64 rguenth at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: mexas at bristol dot ac.uk @ 2012-02-08 13:44 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52172
           Summary: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap
                    comparison failure
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mexas@bristol.ac.uk


Trying to update from gcc-4.7.0.20120107 to 4.7.0.20120128
on ia64 FreeBSD:

gmake "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH"
"TARGET_SUBDIR=ia64-portbld-freebsd9.9" "bindir=/us/local/bin"
"datadir=/usr/local/share" "exec_prefix=/usr/local"
"includedir=/usr/local/include" "daarootdir=/usr/local/share"
"docdir=/usr/local/share/doc/" "infodir=/usr/local/info/gcc47"
"pdfdir=/sr/local/share/doc/" "htmldir=/usr/local/share/doc/"
"libdir=/usr/local/lib/gcc47" "libexecdir=/usrlocal/libexec/gcc47" "lispdir="
"localstatedir=/usr/local/var" "mandir=/usr/local/man"
"oldincludedr=/usr/include" "prefix=/usr/local" "sbindir=/usr/local/sbin"
"sharedstatedir=/usr/local/com" "syscnfdir=/usr/local/etc"
"tooldir=/usr/local/ia64-portbld-freebsd9.9"
"build_tooldir=/usr/local/ia64-prtbld-freebsd9.9"
"target_alias=ia64-portbld-freebsd9.9" "AWK=nawk" "BISON=bison"
"CC_FOR_BUILD=cc""CFLAGS_FOR_BUILD=-O2 -pipe -I/usr/local/include
-fno-strict-aliasing" "CXX_FOR_BUILD=c++" "EXPECT=xpect" "FLEX=flex"
"INSTALL=/usr/bin/install -c -o root -g wheel" "INSTALL_DATA=install  -o root
-gwheel -m 444" "INSTALL_PROGRAM=install  -s -o root -g wheel -m 555"
"INSTALL_SCRIPT=install  -o roo -g wheel -m 555" "LDFLAGS_FOR_BUILD="
"LEX=flex" "M4=gm4" "MAKE=gmake" "RUNTEST=runtest" "RUNTESTFAGS="
"SED=/usr/bin/sed" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e
s'/[^=][^=]*=$XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo
'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$XFOO=/'`" "BOOT_CFLAGS=-g
-O2" "BOOT_LDFLAGS=" "CFLAGS=-O2 -pipe -I/usr/local/include
-fno-strict-aiasing" "CXXFLAGS=-O2 -pipe -I/usr/local/include
-fno-strict-aliasing" "LDFLAGS=" "LIBCFLAGS=-O2 -ppe -I/usr/local/include
-fno-strict-aliasing" "LIBCXXFLAGS=-O2 -pipe -I/usr/local/include
-fno-strit-aliasing -fno-implicit-templates"
"STAGE1_CHECKING=--enable-checking=yes,types" "STAGE1_LANGUAGESc,c++,lto"
"GNATBIND=no" "GNATMAKE=no"
"AR_FOR_TARGET=/usr/local/ia64-portbld-freebsd9.9/bin/ar"
"A_FOR_TARGET=/usr/local/ia64-portbld-freebsd9.9/bin/as"
"CC_FOR_TARGET=/usr/ports/lang/gcc47/work/buld/./gcc/xgcc
-B/usr/ports/lang/gcc47/work/build/./gcc/" "CFLAGS_FOR_TARGET=-g -O2 -pipe
-I/usr/locl/include -fno-strict-aliasing" "CPPFLAGS_FOR_TARGET="
"CXXFLAGS_FOR_TARGET=-g -O2 -pipe -I/usr/locl/include -fno-strict-aliasing"
"DLLTOOL_FOR_TARGET=dlltool"
"FLAGS_FOR_TARGET=-B/usr/local/ia64-potbld-freebsd9.9/bin/
-B/usr/local/ia64-portbld-freebsd9.9/lib/ -isystem
/usr/local/ia64-portbld-frebsd9.9/include -isystem
/usr/local/ia64-portbld-freebsd9.9/sys-include" "GCJ_FOR_TARGET="
"GFORTRANFOR_TARGET=/usr/ports/lang/gcc47/work/build/./gcc/gfortran
-B/usr/ports/lang/gcc47/work/build/./gcc" "GOC_FOR_TARGET="
"GOCFLAGS_FOR_TARGET=-O2 -g"
"LD_FOR_TARGET=/usr/local/ia64-portbld-freebsd9.9/in/ld" "LIPO_FOR_TARGET=lipo"
"LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -pipe -I/usr/localinclude
-fno-strict-aliasing" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -pipe -I/usr/local/include
-fno-strictaliasing -fno-implicit-templates"
"NM_FOR_TARGET=/usr/local/ia64-portbld-freebsd9.9/bin/nm"
"OBJDUM_FOR_TARGET=/usr/local/ia64-portbld-freebsd9.9/bin/objdump"
"RANLIB_FOR_TARGET=/usr/local/ia64-portld-freebsd9.9/bin/ranlib"
"READELF_FOR_TARGET=/usr/local/bin/readelf"
"STRIP_FOR_TARGET=/usr/local/a64-portbld-freebsd9.9/bin/strip"
"WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc"
"BUILD_COFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e
s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS=g -fkeep-inline-functions"
"STAGE1_CXXFLAGS=-g -fkeep-inline-functions" "STAGE1_TFLAGS=" "STAGE2_CFAGS=-g
-O2 -gtoggle" "STAGE2_CXXFLAGS=-g -O2 -gtoggle" "STAGE2_TFLAGS="
"STAGE3_CFLAGS=-g -O2" "STAE3_CXXFLAGS=-g -O2" "STAGE3_TFLAGS="
"STAGE4_CFLAGS=-g -O2" "STAGE4_CXXFLAGS=-g -O2" "STAGE4_TFLAGS"
"STAGEprofile_CFLAGS=-g -O2 -gtoggle -fprofile-generate"
"STAGEprofile_CXXFLAGS=-g -O2 -gtoggle -profile-generate"
"STAGEprofile_TFLAGS=" "STAGEfeedback_CFLAGS=-g -O2 -fprofile-use"
"STAGEfeedbackCXXFLAGS=-g -O2 -fprofile-use" "STAGEfeedback_TFLAGS="
"CXX_FOR_TARGET= $r/./gcc/g++ -B$r/./gcc/ -nstdinc++ `if test -f
$r/ia64-portbld-freebsd9.9/libstdc++-v3/scripts/testsuite_flags; then /bin/sh
r/ia64-portbld-freebsd9.9/libstdc++-v3/scripts/testsuite_flags
--build-includes; else echo -funconfgured-libstdc++-v3 ; fi`
-L$r/ia64-portbld-freebsd9.9/libstdc++-v3/src
-L$r/ia64-portbld-freebsd9.9libstdc++-v3/src/.libs" "TFLAGS="
"CONFIG_SHELL=/bin/sh" "MAKEINFO=makeinfo --no-split --split-size5000000" 
compare
gmake[2]: Entering directory `/usr/ports/lang/gcc47/work/build'
gmake[3]: Entering directory `/usr/ports/lang/gcc47/work/build'
rm -f stage_current
gmake[3]: Leaving directory `/usr/ports/lang/gcc47/work/build'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
Bootstrap comparison failure!
gcc/var-tracking.o differs
gmake[2]: *** [compare] Error 1


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
@ 2012-02-08 14:24 ` rguenth at gcc dot gnu.org
  2012-02-08 14:36 ` mexas at bristol dot ac.uk
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-08 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |ia64-*-freebsd9.9
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-02-08
               Host|                            |ia64-*-freebsd9.9
   Target Milestone|---                         |4.7.0
            Summary|[4.7 FreeBSD ia64           |[4.7 Regression] stage 3
                   |regression] stage 3         |Bootstrap comparison
                   |Bootstrap comparison        |failure on FreeBSD ia64
                   |failure                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-08 14:23:27 UTC ---
How did you configure?  A bootstrap on ia64-linux worked fine for me today.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
  2012-02-08 14:24 ` [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64 rguenth at gcc dot gnu.org
@ 2012-02-08 14:36 ` mexas at bristol dot ac.uk
  2012-02-08 14:43 ` dominiq at lps dot ens.fr
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mexas at bristol dot ac.uk @ 2012-02-08 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2012-02-08 14:35:50 UTC ---
Just "make configure" using FreeBSD ports infrastructure, same as always.

Or do you want to see config.log?
If yes, please let me know which one, and I'll post it.

# find . -name "config.log"
./work/build/config.log
./work/build/stage3-intl/config.log
./work/build/stage3-libcpp/config.log
./work/build/stage3-gcc/config.log
./work/build/build-ia64-portbld-freebsd9.9/libiberty/config.log
./work/build/build-ia64-portbld-freebsd9.9/fixincludes/config.log
./work/build/stage2-gcc/config.log
./work/build/stage2-intl/config.log
./work/build/stage2-libcpp/config.log
./work/build/stage3-libdecnumber/config.log
./work/build/stage2-libdecnumber/config.log
./work/build/stage3-libiberty/config.log
./work/build/stage2-libiberty/config.log
./work/build/stage3-lto-plugin/config.log
./work/build/stage2-lto-plugin/config.log
./work/build/stage3-ia64-portbld-freebsd9.9/libgcc/config.log
./work/build/stage3-ia64-portbld-freebsd9.9/libgomp/config.log
./work/build/stage3-ia64-portbld-freebsd9.9/libstdc++-v3/config.log
./work/build/stage2-ia64-portbld-freebsd9.9/libgcc/config.log
./work/build/stage2-ia64-portbld-freebsd9.9/libgomp/config.log
./work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/config.log
#


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
  2012-02-08 14:24 ` [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64 rguenth at gcc dot gnu.org
  2012-02-08 14:36 ` mexas at bristol dot ac.uk
@ 2012-02-08 14:43 ` dominiq at lps dot ens.fr
  2012-02-08 21:09 ` steven at gcc dot gnu.org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-02-08 14:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-02-08 14:42:48 UTC ---
> Trying to update from gcc-4.7.0.20120107 to 4.7.0.20120128

You should try a revision post 183751 that fixed

    PR bootstrap/52041
    PR bootstrap/52039
    PR target/51974


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (2 preceding siblings ...)
  2012-02-08 14:43 ` dominiq at lps dot ens.fr
@ 2012-02-08 21:09 ` steven at gcc dot gnu.org
  2012-02-10 14:35 ` mexas at bristol dot ac.uk
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu.org @ 2012-02-08 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |steven at gcc dot gnu.org

--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> 2012-02-08 21:09:42 UTC ---
@OP: If you get bootstrap working again, could you please also run a "make
check" and post the results to the gcc-testresults mailing list using the
contrib/test_summary script?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (3 preceding siblings ...)
  2012-02-08 21:09 ` steven at gcc dot gnu.org
@ 2012-02-10 14:35 ` mexas at bristol dot ac.uk
  2012-02-10 14:48 ` dominiq at lps dot ens.fr
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mexas at bristol dot ac.uk @ 2012-02-10 14:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2012-02-10 14:35:12 UTC ---
Same for gcc-4.7-20120204.
Is this snapshot after r183751?

gmake[3]: Leaving directory `/usr/ports/lang/gcc47/work/build'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
Bootstrap comparison failure!
gcc/var-tracking.o differs
gmake[2]: *** [compare] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc47/work/build'
gmake[1]: *** [stage3-bubble] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc47/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Stop in /usr/ports/lang/gcc47.
*** Error code 1


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (4 preceding siblings ...)
  2012-02-10 14:35 ` mexas at bristol dot ac.uk
@ 2012-02-10 14:48 ` dominiq at lps dot ens.fr
  2012-02-10 15:11 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-02-10 14:48 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-02-10 14:47:40 UTC ---
> Same for gcc-4.7-20120204.
> Is this snapshot after r183751?

According to http://gcc.gnu.org/ml/gcc/2012-02/msg00111.html it is revision
183896, so yes it is after r183751 (4.7.0.20120107 was r182982 and
4.7.0.20120128 r183669).


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (5 preceding siblings ...)
  2012-02-10 14:48 ` dominiq at lps dot ens.fr
@ 2012-02-10 15:11 ` jakub at gcc dot gnu.org
  2012-02-11 22:02 ` mexas at bristol dot ac.uk
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-10 15:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-10 15:10:54 UTC ---
So, can you from your build log paste the command to compile var-tracking.c
with the stage2 gcc and rerun it in the gcc subdir with additional
-fcompare-debug option?  It might be a -fcompare-debug issue (in that case
rerun with -save-temps option and attach var-tracking.i together with the exact
command line option used to compile it, or stage1 or stage2 cc1/cc1plus might
be miscompiled.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (6 preceding siblings ...)
  2012-02-10 15:11 ` jakub at gcc dot gnu.org
@ 2012-02-11 22:02 ` mexas at bristol dot ac.uk
  2012-02-13 20:27 ` jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mexas at bristol dot ac.uk @ 2012-02-11 22:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2012-02-11 22:01:52 UTC ---
bear with me..

# pwd
/usr/ports/lang/gcc47/work/build/stage2-gcc

# cat stage2-command 
/usr/ports/lang/gcc47/work/build/./stage2-gcc/g++ -fcompare-debug -save-temps
-B/usr/ports/lang/gcc47/work/build/./stage2-gcc/
-B/usr/local/ia64-portbld-freebsd9.9/bin/ -nostdinc++
-B/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/src/.libs
-B/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/libsupc++/.libs
-I/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/include/ia64-portbld-freebsd9.9
-I/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/include
-I/usr/ports/lang/gcc47/work/gcc-4.7-20120204/libstdc++-v3/libsupc++
-L/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/src/.libs
-L/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -gtoggle -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -I. -I. -I.././../gcc-4.7-20120204/gcc
-I.././../gcc-4.7-20120204/gcc/. -I.././../gcc-4.7-20120204/gcc/../include
-I.././../gcc-4.7-20120204/gcc/../libcpp/include -I/usr/local/include 
-I.././../gcc-4.7-20120204/gcc/../libdecnumber
-I.././../gcc-4.7-20120204/gcc/../libdecnumber/dpd -I../libdecnumber  
-I/usr/local/include .././../gcc-4.7-20120204/gcc/var-tracking.c -o
var-tracking.o

# ./stage2-command

# cd ../stage3-gcc/

# cat stage3-command 
/usr/ports/lang/gcc47/work/build/./stage2-gcc/g++ -fcompare-debug -save-temps
-B/usr/ports/lang/gcc47/work/build/./stage2-gcc/
-B/usr/local/ia64-portbld-freebsd9.9/bin/ -nostdinc++
-B/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/src/.libs
-B/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/libsupc++/.libs
-I/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/include/ia64-portbld-freebsd9.9
-I/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/include
-I/usr/ports/lang/gcc47/work/gcc-4.7-20120204/libstdc++-v3/libsupc++
-L/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/src/.libs
-L/usr/ports/lang/gcc47/work/build/stage2-ia64-portbld-freebsd9.9/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common 
-DHAVE_CONFIG_H -I. -I. -I.././../gcc-4.7-20120204/gcc
-I.././../gcc-4.7-20120204/gcc/. -I.././../gcc-4.7-20120204/gcc/../include
-I.././../gcc-4.7-20120204/gcc/../libcpp/include -I/usr/local/include
-I.././../gcc-4.7-20120204/gcc/../libdecnumber
-I.././../gcc-4.7-20120204/gcc/../libdecnumber/dpd -I../libdecnumber  
-I/usr/local/include .././../gcc-4.7-20120204/gcc/var-tracking.c -o
var-tracking.o

# ./stage3-command 
g++: error: .././../gcc-4.7-20120204/gcc/var-tracking.c: -fcompare-debug
failure

# ls -al var-tracking.*
-rw-r--r--  1 root  wheel  17465618 Feb 11 21:51 var-tracking.gk.gkd
-rw-r--r--  1 root  wheel   1621224 Feb 11 21:51 var-tracking.gk.ii
-rw-r--r--  1 root  wheel  17465618 Feb 11 21:51 var-tracking.gkd
-rw-r--r--  1 root  wheel   1621224 Feb 11 21:50 var-tracking.ii
-rw-r--r--  1 root  wheel   4186799 Feb 11 21:51 var-tracking.s

I uploaded var-tracking.ii at:
  http://seis.bris.ac.uk/~mexas/var-tracking.ii

Or have I misunderstood you?


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (7 preceding siblings ...)
  2012-02-11 22:02 ` mexas at bristol dot ac.uk
@ 2012-02-13 20:27 ` jakub at gcc dot gnu.org
  2012-02-13 20:38 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-13 20:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-13 20:26:58 UTC ---
Created attachment 26654
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26654
vartrack.ii

Slightly reduced testcase.
Reproduceable with
./g++ -B ./ -S -fcompare-debug -g -O2 -fno-exceptions -fno-rtti -pedantic
-fno-common vartrack.ii  --param min-nondebug-insn-uid=10000
(the param in order to make the debugging at least bearable by making the uids
match for non-debug insns).

The problem seems to be in remove_useless_values happening at different times
during sched2 (part of ia64 mach pass).  There we for a DEBUG_INSN insn do
first cselib_lookup_from_insn (... , insn), then call cselib_subst_to_values.
Unfortunately the latter means cselib_current_insn is NULL and
promote_debug_loc decides to promote it (and clear setting_insn) even for a
debug stmt value that -g0 compilation doesn't touch in any way.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (8 preceding siblings ...)
  2012-02-13 20:27 ` jakub at gcc dot gnu.org
@ 2012-02-13 20:38 ` jakub at gcc dot gnu.org
  2012-02-13 23:32 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-13 20:38 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-13 20:37:56 UTC ---
Created attachment 26655
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26655
gcc47-pr52172.patch

Untested fix.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (9 preceding siblings ...)
  2012-02-13 20:38 ` jakub at gcc dot gnu.org
@ 2012-02-13 23:32 ` jakub at gcc dot gnu.org
  2012-02-14  9:57 ` jakub at gcc dot gnu.org
  2012-02-14 18:08 ` mexas at bristol dot ac.uk
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-13 23:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-13 23:31:51 UTC ---
Author: jakub
Date: Mon Feb 13 23:31:48 2012
New Revision: 184181

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184181
Log:
    PR bootstrap/52172
    * cselib.h (cselib_subst_to_values_from_insn): New prototype.
    * cselib.c (cselib_subst_to_values_from_insn): New function.
    * sched-deps.c (add_insn_mem_dependence,
    sched_analyze_1, sched_analyze_2): Use it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cselib.c
    trunk/gcc/cselib.h
    trunk/gcc/sched-deps.c


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (10 preceding siblings ...)
  2012-02-13 23:32 ` jakub at gcc dot gnu.org
@ 2012-02-14  9:57 ` jakub at gcc dot gnu.org
  2012-02-14 18:08 ` mexas at bristol dot ac.uk
  12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-14  9:57 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-14 09:56:40 UTC ---
Assuming this is fixed now.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64
  2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
                   ` (11 preceding siblings ...)
  2012-02-14  9:57 ` jakub at gcc dot gnu.org
@ 2012-02-14 18:08 ` mexas at bristol dot ac.uk
  12 siblings, 0 replies; 14+ messages in thread
From: mexas at bristol dot ac.uk @ 2012-02-14 18:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2012-02-14 18:08:03 UTC ---
yes, I confirm, fixed on FreeBSD 9.9-CURRENT #11 r231193M
Thanks!


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-02-14 18:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 13:44 [Bug bootstrap/52172] New: [4.7 FreeBSD ia64 regression] stage 3 Bootstrap comparison failure mexas at bristol dot ac.uk
2012-02-08 14:24 ` [Bug bootstrap/52172] [4.7 Regression] stage 3 Bootstrap comparison failure on FreeBSD ia64 rguenth at gcc dot gnu.org
2012-02-08 14:36 ` mexas at bristol dot ac.uk
2012-02-08 14:43 ` dominiq at lps dot ens.fr
2012-02-08 21:09 ` steven at gcc dot gnu.org
2012-02-10 14:35 ` mexas at bristol dot ac.uk
2012-02-10 14:48 ` dominiq at lps dot ens.fr
2012-02-10 15:11 ` jakub at gcc dot gnu.org
2012-02-11 22:02 ` mexas at bristol dot ac.uk
2012-02-13 20:27 ` jakub at gcc dot gnu.org
2012-02-13 20:38 ` jakub at gcc dot gnu.org
2012-02-13 23:32 ` jakub at gcc dot gnu.org
2012-02-14  9:57 ` jakub at gcc dot gnu.org
2012-02-14 18:08 ` mexas at bristol dot ac.uk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).