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.
The empty-partition-problem. *** This bug has been marked as a duplicate of bug 48246 ***
This is a new regression introduced by revision 175021: http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg00510.html
Well, it just expose the previously latent problem. I will take a look into the partitioning code...
Fixed as of revision 175371.