Bug 49439 - [4.7 Regression] 471.omnetpp in SPEC CPU 2006 failed to build
Summary: [4.7 Regression] 471.omnetpp in SPEC CPU 2006 failed to build
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: 4.7.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 13:05 UTC by H.J. Lu
Modified: 2011-06-26 21:31 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2011-06-16 13:05:29 UTC
On Linux/x86-64, revision 175074 gave:

g++  -O3 -funroll-loops -ffast-math -fwhole-program -flto=jobserver -fuse-linker-plugin  -DSPEC_CPU_LP64        EtherAppCli.o EtherAppCli_n.o EtherAppSrv.o EtherAppSrv_n.o EtherApp_m.o EtherBus.o EtherBus_n.o EtherCtrl_m.o EtherEncap.o EtherEncap_n.o EtherFrame_m.o EtherHost_n.o EtherHub.o EtherHub_n.o EtherLLC.o EtherLLC_n.o EtherMAC.o EtherMAC_n.o EtherSwitch_n.o LargeNet_n.o MACAddress.o MACAddress_m.o MACRelayUnitBase.o MACRelayUnitNP.o MACRelayUnitNP_n.o MACRelayUnitPP.o MACRelayUnitPP_n.o MACRelayUnit_n.o Networks_n.o eth-index_n.o utils.o libs/cmdenv/cmdenv.o libs/cmdenv/enumstr.o libs/cmdenv/heap.o libs/envir/akoutvectormgr.o libs/envir/args.o libs/envir/cenvir.o libs/envir/cinifile.o libs/envir/filemgrs.o libs/envir/main.o libs/envir/omnetapp.o libs/envir/patmatch.o libs/envir/platdep.o libs/envir/seeds.o libs/envir/slaveapp.o libs/envir/speedmtr.o libs/sim/carray.o libs/sim/cexception.o libs/sim/cmessage.o libs/sim/cpar.o libs/sim/ctypes.o libs/sim/task.o libs/sim/cchannel.o libs/sim/cfsm.o libs/sim/cmodule.o libs/sim/cpsquare.o libs/sim/cvarhist.o libs/sim/util.o libs/sim/ccoroutine.o libs/sim/cgate.o libs/sim/cmsgheap.o libs/sim/cqueue.o libs/sim/cwatch.o libs/sim/cdensity.o libs/sim/chead.o libs/sim/cnetmod.o libs/sim/csimul.o libs/sim/distrib.o libs/sim/cdetect.o libs/sim/chist.o libs/sim/cobject.o libs/sim/cstat.o libs/sim/errmsg.o libs/sim/cdispstr.o libs/sim/cksplit.o libs/sim/coutvect.o libs/sim/cstruct.o libs/sim/onstartup.o libs/sim/cenum.o libs/sim/cllist.o libs/sim/cpacket.o libs/sim/ctopo.o libs/sim/random.o libs/sim/std/netpack.o libs/spec/spec_qsort.o                     -o omnetpp
lto1: internal compiler error: in lto_wpa_write_files, at lto/lto.c:2139
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
/usr/local/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
specmake[3]: *** [omnetpp] Error 1

Revision 174982 is OK.
Comment 1 Richard Biener 2011-06-16 13:15:32 UTC
The empty-partition-problem.

*** This bug has been marked as a duplicate of bug 48246 ***
Comment 2 H.J. Lu 2011-06-16 15:44:43 UTC
This is a new regression introduced by revision 175021:

http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg00510.html
Comment 3 Jan Hubicka 2011-06-16 16:07:46 UTC
Well, it just expose the previously latent problem.  I will take a look into the partitioning code...
Comment 4 H.J. Lu 2011-06-26 21:31:46 UTC
Fixed as of revision 175371.