http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49665
Summary: 'defined in discarded section' link failures on cpu2006 benchmarks Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: pthau...@gcc.gnu.org CC: amo...@gcc.gnu.org, berg...@gcc.gnu.org Host: powerpc64-linux Target: powerpc64-linux Build: powerpc64-linux 450.soplex (-O2) and 471.omnetpp fail to link in 64-bit mode with the same error. 450.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 `.group' of spxlp.o `soplex::LPRowSet::~LPRowSet()' referenced in section `.text' of spxlpfread.o: defined in discarded section `.group' of spxlpfread.o `soplex::LPRowSet::~LPRowSet()' referenced in section `.text' of spxlpfread.o: defined in discarded section `.group' of spxlpfread.o 471.omnetpp: `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