public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/26601]  New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks
@ 2006-03-07 22:36 uttamp at us dot ibm dot com
  2009-05-14  3:22 ` [Bug other/26601] " bje at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: uttamp at us dot ibm dot com @ 2006-03-07 22:36 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/26601] --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks
  2006-03-07 22:36 [Bug other/26601] New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks uttamp at us dot ibm dot com
@ 2009-05-14  3:22 ` bje at gcc dot gnu dot org
  2009-05-15  5:35 ` bje at gcc dot gnu dot org
  2009-05-15  5:55 ` bje at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-05-14  3:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

bje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bje at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-05-14 03:21:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26601


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/26601] --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks
  2006-03-07 22:36 [Bug other/26601] New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks uttamp at us dot ibm dot com
  2009-05-14  3:22 ` [Bug other/26601] " bje at gcc dot gnu dot org
@ 2009-05-15  5:35 ` bje at gcc dot gnu dot org
  2009-05-15  5:55 ` bje at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-05-15  5:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bje at gcc dot gnu dot org  2009-05-15 05:35 -------
177.mesa and 188.ammp work with mainline.  The remaining FP benchmarks do not
compile because -fwhole-program -combine is not supported for FORTRAN programs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26601


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug other/26601] --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks
  2006-03-07 22:36 [Bug other/26601] New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks uttamp at us dot ibm dot com
  2009-05-14  3:22 ` [Bug other/26601] " bje at gcc dot gnu dot org
  2009-05-15  5:35 ` bje at gcc dot gnu dot org
@ 2009-05-15  5:55 ` bje at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-05-15  5:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bje at gcc dot gnu dot org  2009-05-15 05:55 -------
There is no problem with current GCC that I can see.  The integer benchmarks
that fail to compile can be attributed to various C bugs such as mismatched
types between compilation units (eg. extern int foo in one file and char *foo
in another) that would not detected by separate compilation.


-- 

bje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26601


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-15  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07 22:36 [Bug other/26601] New: --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks uttamp at us dot ibm dot com
2009-05-14  3:22 ` [Bug other/26601] " bje at gcc dot gnu dot org
2009-05-15  5:35 ` bje at gcc dot gnu dot org
2009-05-15  5:55 ` bje at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).