[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Pat Haugen changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED --- Comment #9 from Pat Haugen 2011-09-13 16:10:47 UTC --- Yes, this is fixed with your patches for pr49533. Thanks.
[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Jan Hubicka changed: What|Removed |Added Status|NEW |WAITING --- Comment #8 from Jan Hubicka 2011-09-13 14:56:55 UTC --- Can you, please, check that the bug is fixed now?
[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Pat Haugen changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment #7 from Pat Haugen 2011-07-14 17:19:10 UTC --- Yes, if I remove the patch for r174989 then both benchmarks build without error.
[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 --- Comment #6 from Markus Trippelsdorf 2011-07-10 19:08:14 UTC --- Another thing you might check is to revert the commit pointed out here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49533#c5 and see if this makes any difference.
[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Pat Haugen changed: What|Removed |Added Component|c++ |other --- Comment #5 from Pat Haugen 2011-07-10 18:43:28 UTC --- The problems still exist in r176125, although looks like a couple from soplex went away but a couple new ones for omnetpp showed up. soplex: `soplex::SPxBasis::~SPxBasis()' referenced in section `.data.rel.ro._ZTVN6soplex8SPxBasisE[vtable for soplex::SPxBasis]' of spxbasis.o: defined in discarded section `.group' of spxbasis.o `soplex::SPxLP::~SPxLP()' referenced in section `.data.rel.ro._ZTVN6soplex5SPxLPE[vtable for soplex::SPxLP]' of spxlp.o: defined in discarded section `.grou p' of spxlp.o omnetpp: `cStdDev::~cStdDev()' referenced in section `.data.rel.ro._ZTV7cStdDev[vtable for cStdDev]' of libs/sim/cstat.o: defined in discarded section `.group' of libs/sim/cstat.o `cStatistic::~cStatistic()' referenced in section `.data.rel.ro._ZTV10cStatistic[vtable for cStatistic]' of libs/sim/std/netpack.o: defined in discarded section `.group' of libs/sim/std/netpack.o `cEqdHistogramBase::~cEqdHistogramBase()' referenced in section `.data.rel.ro._ZTV17cEqdHistogramBase[vtable for cEqdHistogramBase]' of libs/sim/std/netpack.o: defined in discarded section `.group' of libs/sim/std/netpack.o
[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Alan Modra changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|amodra at gmail dot com |unassigned at gcc dot ||gnu.org --- Comment #2 from Alan Modra 2011-07-07 09:50:54 UTC --- So, looks like a gcc bug after all. There are four files with a certain group example.s:.section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat example.s:.section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat soplex.s:.section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat soplex.s:.section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxbasis.s:.section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxbasis.s:.section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxsolver.s:.section .text._ZN6soplex8SPxBasisD2Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat spxsolver.s:.section .text._ZN6soplex8SPxBasisD0Ev,"axG",@progbits,_ZN6soplex8SPxBasisD5Ev,comdat In each of these files this group contains two sections, with the code for _ZN6soplex8SPxBasisD0Ev and _ZN6soplex8SPxBasisD2Ev in them. In just one file, spsbasis.o, there is an alias for _ZN6soplex8SPxBasisD2Ev. .weak_ZN6soplex8SPxBasisD1Ev .set_ZN6soplex8SPxBasisD1Ev,_ZN6soplex8SPxBasisD2Ev When the group in spsbasis.o is dropped, _ZN6soplex8SPxBasisD1Ev has no proper definition.
[Bug other/49665] 'defined in discarded section' link failures on cpu2006 benchmarks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2011.07.07 06:51:19 CC||amodra at gmail dot com AssignedTo|unassigned at gcc dot |amodra at gmail dot com |gnu.org | Ever Confirmed|0 |1 --- Comment #1 from Alan Modra 2011-07-07 06:51:19 UTC --- There are some really weird things going on here that make me think this is a linker bug rather than a gcc bug. Assigning to myself to save others wasting time on the PR.