This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/26601] New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks
- From: "uttamp at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2006 22:36:39 -0000
- Subject: [Bug other/26601] New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
Following is the list of benchmarks failed to compile/link using
--fwhole-program --combine option with GCC,
$/opt/gcc-nightly/4.1-20060228/bin/gcc -v
Using built-in specs.
Target: powerpc64-linux
Configured with: /home/gccbuild/gcc_4.1_anonsvn/4.1/configure
--prefix=/opt/gcc-nightly/4.1-20060228 --build=powerpc64-linux
--host=powerpc64-linux --target=powerpc64-linux --with-cpu=default32
--with-as=/opt/gcc-nightly/4.1-20060228/bin/as
--with-ld=/opt/gcc-nightly/4.1-20060228/bin/ld --enable-threads=posix
--enable-shared --enable-__cxa_atexit --enable-languages=c,c++,f95,java,objc
--enable-checking --with-mpfr=/opt/gcc-nightly/4.1-20060228
Thread model: posix
gcc version 4.1.0
Integer:
164.gzip, 175.vpr, 176.gcc, 181.mcf, 186.crafty, 197.parser,
252.eon, 253.perlbmk, 254.gap, 255.vortex, 256.bzip2, 300.twolf
Floating point:
168.wupwise, 171.swim, 172.mgrid, 173.applu, 177.mesa, 178.galgel,
187.facerec, 188.ammp, 189.lucas, 191.fma3d, 200.sixtrack 301.apsi
Onlys benchmark succeeded are 179.art and 183.equake.
The other compiler options used are "-m32 -O3 -mcpu=power4"
All the integer benchmarks failed with indefined reference errors.
All the fortran benchmarks failed with following error,
/opt/gcc-nightly/4.1-20060228/lib/gcc/powerpc64-linux/4.1.0/../../../../lib/libgfortranbegin.a(fmain.o):
In function `main':
/home/gccbuild/gcc_4.1_anonsvn/4.1/libgfortran/fmain.c:18: undefined reference
to `MAIN__'
collect2: ld returned 1 exit status
--
Summary: --whole-program --combine with gcc4.1 fails to link
cpu2000 benchmarks
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: uttamp at us dot ibm dot com
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26601