------- Comment #7 from sgk at troutmask dot apl dot washington dot edu 2010-04-22 18:54 ------- Subject: Re: [lto] ICE during linking in testsuite
On Thu, Apr 22, 2010 at 05:38:18PM -0000, sgk at troutmask dot apl dot washington dot edu wrote: > > This appears to be an incompatibility with > with FreeBSD's libelf implementation. After > downloading libelf-0.8.12.tar.gz as listed > in the Prerequites webpage, I get > > > troutmask:sgk[203] bash > [...@troutmask ~/gcc/obj4x/gcc]$ gmake check-gfortran RUNTESTFLAGS=lto.exp > > === gfortran Summary === > > # of expected passes 124 > > Well, I'm stumped. In the directory 'bad' I use a gfortran built with FreeBSD's libelf and in the directory 'good' I use a gfortran built with libelf-0.8.12.tar.gz's libelf. troutmask:sgk[360] md5 bad/h.o good/h.o MD5 (bad/h.o) = 4909b937854f99007f0115ceba7a3ffc MD5 (good/h.o) = 4909b937854f99007f0115ceba7a3ffc troutmask:sgk[361] md5 bad/m.o good/m.o MD5 (bad/m.o) = 43269e48702cfe26c28a2d07ff5d1d9d MD5 (good/m.o) = 43269e48702cfe26c28a2d07ff5d1d9d The md5 checksums are identical from the commands gfc4x -flto -save-temps -c h.f90 gfc4x -flto -save-temps -c m.f90 but when I do the linking I see troutmask:sgk[365] gfc4x -flto -save-temps -o z h.o m.o && ./z Hello world! in the 'good' directory and the ICE in the 'bad' directory. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43823