[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #41 from sayle at gcc dot gnu dot org 2006-08-31 17:35 --- Subject: Bug 22313 Author: sayle Date: Thu Aug 31 17:35:32 2006 New Revision: 116604 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116604 Log: PR other/22313 * dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is NULL, otherwise use an advance_loc4 to adjust relative to the current label. (output_cfi) : Update the current label. (dwarf2out_switch_text_section): Reset the current label to avoid using advance_loc4 over section boundaries. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #42 from pinskia at gcc dot gnu dot org 2006-08-31 17:53 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #43 from sayle at gcc dot gnu dot org 2006-09-01 15:47 --- Subject: Bug 22313 Author: sayle Date: Fri Sep 1 15:47:29 2006 New Revision: 116628 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116628 Log: PR other/22313 * dwarf2out.c (add_fde_cfi): Use a set_loc if the current label is NULL, otherwise use an advance_loc4 to adjust relative to the current label. (output_cfi) : Update the current label. (dwarf2out_switch_text_section): Reset the current label to avoid using advance_loc4 over section boundaries. Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/dwarf2out.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #33 from pinskia at gcc dot gnu dot org 2006-04-03 22:05 --- *** Bug 27011 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||amonakov at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #34 from aoliva at gcc dot gnu dot org 2006-05-29 09:15 --- I've completed a successful profiledbootstrap on amd64-linux-gnu last night. Is anyone else still seeing this, or is it fixed? -- aoliva at gcc dot gnu dot org changed: What|Removed |Added CC||aoliva at gcc dot gnu dot ||org Status|NEW |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #35 from gcc at pdoerfler dot com 2006-05-29 09:39 --- FWIW profiledbootstrap still fails with -march=pentium4 and fortran enabled because of PR26449. Last tested with 20060520. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #36 from papadako at csd dot uoc dot gr 2006-05-29 12:23 --- Still have this problen on x86 with latest gcc-4.1 SVN branch and binutils 2.16.91.0.7. stage1/xgcc -Bstage1/ -B/usr/i486-slackware-linux/bin/ -c -O2 -g -fomit-frame-pointer -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1-branch/gcc -I../../gcc-4.1-branch/gcc/. -I../../gcc-4.1-branch/gcc/../include -I../../gcc-4.1-branch/gcc/../libcpp/include ../../gcc-4.1-branch/gcc/attribs.c -o attribs.o /tmp/ccoORGHT.s: Assembler messages: /tmp/ccoORGHT.s:1280: Error: invalid sections for operation on `.LCFI71' and `.LCFI70' make[2]: *** [attribs.o] Error 1 make[2]: Leaving directory `/root/SVN/GCC/build/gcc' make[1]: *** [stagefeedback_build] Error 2 make[1]: Leaving directory `/root/SVN/GCC/build/gcc' make: *** [profiledbootstrap] Error 2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2005-11-11 18:50:50 |2006-06-05 10:19:37 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #37 from roger at eyesopen dot com 2006-07-17 22:15 --- I've now tested "make profiledbootstrap" on both mainline and the gcc-4_1-branch, on both x86_64-unknown-linux-gnu and i686-pc-linux-gnu, and not only does the profiled bootstrap build fine, but the dejagnu testsuite looks identical to a baseline "make bootstrap". Could anyone confirm whether they're still seeing this problem? Its likely that Andrew Pinski's patches together with the resolution of PRs 25518 and 26449 have now resolved this issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #38 from papadako at csd dot uoc dot gr 2006-07-17 23:19 --- Unfortunately I still have the same problem.. Don't know if I am the only one! This is during compiling gcc 4.1 SVN trunk GNU ld version 2.16.91.0.7 20060317 gcc -v Using built-in specs. Target: i486-slackware-linux Configured with: ../gcc-4.1-branch/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 4.1.2 20060601 (prerelease) stage1/xgcc -Bstage1/ -B/usr/i486-slackware-linux/bin/ -c -O2 -g -fomit-frame-pointer -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1-branch/gcc -I../../gcc-4.1-branch/gcc/. -I../../gcc-4.1-branch/gcc/../include -I../../gcc-4.1-branch/gcc/../libcpp/include ../../gcc-4.1-branch/gcc/c-lang.c -o c-lang.o stage1/xgcc -Bstage1/ -B/usr/i486-slackware-linux/bin/ -c -O2 -g -fomit-frame-pointer -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1-branch/gcc -I../../gcc-4.1-branch/gcc/. -I../../gcc-4.1-branch/gcc/../include -I../../gcc-4.1-branch/gcc/../libcpp/include ../../gcc-4.1-branch/gcc/stub-objc.c -o stub-objc.o stage1/xgcc -Bstage1/ -B/usr/i486-slackware-linux/bin/ -c -O2 -g -fomit-frame-pointer -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1-branch/gcc -I../../gcc-4.1-branch/gcc/. -I../../gcc-4.1-branch/gcc/../include -I../../gcc-4.1-branch/gcc/../libcpp/include ../../gcc-4.1-branch/gcc/attribs.c -o attribs.o /tmp/ccqSKDxK.s: Assembler messages: /tmp/ccqSKDxK.s:1280: Error: invalid sections for operation on `.LCFI71' and `.LCFI70' -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #39 from roger at eyesopen dot com 2006-07-24 00:45 --- My latest analysis and a possible patch/workaround have been posted here: http://gcc.gnu.org/ml/gcc-patches/2006-07/msg01015.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #40 from hubicka at gcc dot gnu dot org 2006-08-07 08:18 --- Roger, the patch for advance loc seems sane solution to me (in my limited understanding of dwarf2). If I understand it right, we need the advance_loc only when crossing the section boundary, so we ought to be able to use NOTE_INSN_SWITCH_TEXT_SECTIONS and use the advance_loc only when tripping over it. Only anoying thing would be probably to get it passed out of final.c up to the offending place. Thanks for looking into this, Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #25 from pinskia at gcc dot gnu dot org 2005-12-20 06:46 --- This is now broken even with -g on the mainline so unassigning. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org URL|http://gcc.gnu.org/ml/gcc- | |patches/2005- | |11/msg00857.html| Status|ASSIGNED|NEW GCC target triplet|i586-ark-linux, x86_64-*-* |x86_64-*-* Keywords|patch | Summary|[4.2 Regression] gcc HEAD as|[4.2 Regression] |of 2005/07/05 fails to |profiledbootstrap is broken |profiledbootstrap without -g|on the mainline Version|4.1.0 |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #26 from papadako at csd dot uoc dot gr 2005-12-20 16:07 --- I still can't profiledbootstrap gcc 4.1 branch. Stops with the following message: tage1/xgcc -Bstage1/ -B/usr/gcc_4_1/i486-slackware-linux/bin/ -c -O2 -g -fomit-frame-pointer -fprofile-use -freorder-blocks-and-partition -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4_1-branch/gcc -I../../gcc-4_1-branch/gcc/. -I../../gcc-4_1-branch/gcc/../include -I../../gcc-4_1-branch/gcc/../libcpp/include ../../gcc-4_1-branch/gcc/attribs.c -o attribs.o /tmp/ccXgVrwC.s: Assembler messages: /tmp/ccXgVrwC.s:1280: Error: invalid sections for operation on `.LCFI71' and `.LCFI70' make[2]: *** [attribs.o] Error 1 This is with binutils 2.16.91.0.4 2005 and gcc version 4.0.3 20051207 (prerelease) on a linux x86 machine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #31 from pinskia at gcc dot gnu dot org 2006-03-03 18:25 --- I am going to apply my patch to the mainline in the next or two, I will make sure I also apply my follow up patch too. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Summary|[4.2 Regression]|[4.2 Regression] |profiledbootstrap is broken |profiledbootstrap is broken |on the mainline and 4.1 |on the mainline |branch | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline
--- Comment #32 from pinskia at gcc dot gnu dot org 2006-03-08 00:01 --- And now profiledbootstrap is broken a different way on the mainline so I am not fixing this. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline and 4.1 branch
--- Comment #29 from pinskia at gcc dot gnu dot org 2006-01-17 19:36 --- (In reply to comment #27) > Still breaks for me on 4.1 branch too (4.1 branch SVN ID 109831). > Linux x86, binutils 2.16.91.0.4 Can you file a different bug and attach the .s file? Because I don't see this at all. Also can you try with a FSF release of binutils and not some hacked up version? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail|4.1.0 4.2.0 |4.2.0 Known to work|4.0.2 |4.0.2 4.1.0 Summary|[4.1/4.2 Regression]|[4.2 Regression] |profiledbootstrap is broken |profiledbootstrap is broken |on the mainline and 4.1 |on the mainline and 4.1 |branch |branch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313
[Bug other/22313] [4.2 Regression] profiledbootstrap is broken on the mainline and 4.1 branch
--- Comment #30 from bero at arklinux dot org 2006-01-17 19:36 --- Created an attachment (id=10665) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10665&action=view) asm code generated by current 4.1 SVN -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313