Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115392 - ICE in gcc-3.4.4 with acovea benchmark
Summary: ICE in gcc-3.4.4 with acovea benchmark
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 104160 142063 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-13 02:09 UTC by Mats Liljegren
Modified: 2006-07-29 01:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source (ccWPTr2n.out,82.11 KB, text/plain)
2005-12-13 02:13 UTC, Mats Liljegren
Details
Preprocessed source (ccmnbBql.out,94.64 KB, text/plain)
2005-12-13 02:14 UTC, Mats Liljegren
Details
Preprocessed source (cchlhFZh.out,94.66 KB, text/plain)
2005-12-13 02:15 UTC, Mats Liljegren
Details
Preprocessed source (ccINeHc7.out,94.49 KB, text/plain)
2005-12-13 02:17 UTC, Mats Liljegren
Details
Preprocessed source (ccJYAeGG.out,94.57 KB, text/plain)
2005-12-13 02:17 UTC, Mats Liljegren
Details
Preprocessed source (ccqCIO2a.out,94.57 KB, text/plain)
2005-12-13 02:18 UTC, Mats Liljegren
Details
Preprocessed source (ccx66Thq.out,94.60 KB, text/plain)
2005-12-13 02:19 UTC, Mats Liljegren
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mats Liljegren 2005-12-13 02:09:49 UTC
Running Acovea benchmark elmabench.c results in internal compiler error. GCC
asked me to report this, so here I am...

The benchmark program uses several different types of options to the compiler. 

I have run Acovea with the linbench.c benchmark, that worked fine.

I'm not sure, but this might be the same bug as in bug 113695.

Reproducible: Always
Steps to Reproduce:
1. runacovea -config gcc34_opteron.acovea -bench
/usr/share/acovea/benchmarks/almabench.c

Actual Results:  
ACOVEA - Analysis of Compiler Options Via Evolutionary Algorithm
         Invented by Scott Robert Ladd:  Coyote Gulch Productions
                                         scott.ladd@coyotegulch.com
                                         http://www.coyotegulch.com

  test application: /usr/share/acovea/benchmarks/almabench.c
       test system: localhost.localdomain
config description: GCC 3.4 Opteron (AMD64/x86_64)
test configuration: gcc34_opteron.acovea
    acovea version: 4.0.0
   evocosm version: 2.5.2
   test start time: 2005 Dec 13 10:57:18

  # of populations: 5
   population size: 40
     survival rate: 10% (4)
    migration rate: 5% (2)
     mutation rate: 1%
    crossover rate: 100%
   fitness scaling: windowed
generations to run: 20
random number seed: 1073837824

/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccWPTr2n.out file, please attach this to
your bugreport.

COMPILE FAILED:
gcc -lrt -lm -std=gnu99 -O1 -march=opteron -o ACOVEA4B3765CF
-fno-merge-constants -fno-defer-pop -fno-omit-frame-pointer -fno-cprop-registers
-fno-if-conversion2 -fno-delayed-branch -fno-loop-optimize -fno-crossjumping
-foptimize-sibling-calls -fcse-skip-blocks -fstrength-reduce -fcaller-saves
-fforce-mem -fpeephole2 -fstrict-aliasing -fsched-interblock -fsched-spec
-freorder-functions -falign-loops -fweb -fprefetch-loop-arrays -freduce-all-givs
-fno-inline -fpeel-loops -fnew-ra -funswitch-loops -fbranch-target-load-optimize
-mieee-fp -minline-all-stringops -mfpmath=sse,387 -fno-math-errno
-ffinite-math-only -fno-signaling-nans /usr/share/acovea/benchmarks/almabench.c 
/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/cchlhFZh.out file, please attach this to
your bugreport.

COMPILE FAILED:
gcc -lrt -lm -std=gnu99 -O1 -march=opteron -o ACOVEA6870A15E
-fno-merge-constants -fno-thread-jumps -fno-cprop-registers -fno-if-conversion
-fno-if-conversion2 -fno-delayed-branch -fno-loop-optimize -fno-crossjumping
-foptimize-sibling-calls -fcse-follow-jumps -fgcse -fexpensive-optimizations
-frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns
-fschedule-insns2 -fregmove -fstrict-aliasing -fdelete-null-pointer-checks
-fsched-spec -falign-loops -falign-jumps -funit-at-a-time -finline-functions
-fweb -fprefetch-loop-arrays -fmove-all-movables -freduce-all-givs -ftracer
-fnew-ra -funswitch-loops -funroll-all-loops -mieee-fp -mno-align-stringops
-fno-math-errno -fno-trapping-math -ffinite-math-only -finline-limit=700
/usr/share/acovea/benchmarks/almabench.c 
/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccmnbBql.out file, please attach this to
your bugreport.

COMPILE FAILED:
gcc -lrt -lm -std=gnu99 -O1 -march=opteron -o ACOVEA023AF4BB
-fno-merge-constants -fno-defer-pop -fno-thread-jumps
-fno-guess-branch-probability -fno-if-conversion -fno-if-conversion2
-fno-delayed-branch -fno-loop-optimize -fno-crossjumping
-foptimize-sibling-calls -fcse-follow-jumps -fgcse -fexpensive-optimizations
-frerun-cse-after-loop -fcaller-saves -fpeephole2 -fstrict-aliasing
-freorder-blocks -fsched-spec -funit-at-a-time -finline-functions
-frename-registers -fweb -ffloat-store -fpeel-loops -fnew-ra -funswitch-loops
-funroll-loops -fbranch-target-load-optimize2 -maccumulate-outgoing-args
-mno-align-stringops -minline-all-stringops -fno-math-errno
-funsafe-math-optimizations -ffinite-math-only -finline-limit=700
/usr/share/acovea/benchmarks/almabench.c 
/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccINeHc7.out file, please attach this to
your bugreport.

COMPILE FAILED:
gcc -lrt -lm -std=gnu99 -O1 -march=opteron -o ACOVEA342165E8
-fno-merge-constants -fno-if-conversion2 -fno-loop-optimize -fno-crossjumping
-foptimize-sibling-calls -fcse-skip-blocks -frerun-loop-opt -fpeephole2
-fschedule-insns2 -fregmove -freorder-blocks -freorder-functions -falign-loops
-funit-at-a-time -falign-functions -fweb -ffloat-store -fprefetch-loop-arrays
-fmove-all-movables -fpeel-loops -fnew-ra -mno-push-args
-maccumulate-outgoing-args -mno-align-stringops -minline-all-stringops
-mfpmath=sse -fno-trapping-math -ffinite-math-only -fno-signaling-nans
/usr/share/acovea/benchmarks/almabench.c 
/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccJYAeGG.out file, please attach this to
your bugreport.

COMPILE FAILED:
gcc -lrt -lm -std=gnu99 -O1 -march=opteron -o ACOVEA4DDCD3DA
-fno-omit-frame-pointer -fno-guess-branch-probability -fno-if-conversion
-fno-loop-optimize -fno-crossjumping -foptimize-sibling-calls -fcse-follow-jumps
-fcse-skip-blocks -fgcse -fcaller-saves -fpeephole2 -fschedule-insns2
-fdelete-null-pointer-checks -fsched-interblock -fsched-spec -freorder-functions
-falign-jumps -finline-functions -fweb -fmove-all-movables -fnew-ra
-funswitch-loops -funroll-loops -fbranch-target-load-optimize
-mno-align-stringops -mfpmath=sse -fno-math-errno -funsafe-math-optimizations
-fno-trapping-math -ffinite-math-only -fno-signaling-nans -finline-limit=700
/usr/share/acovea/benchmarks/almabench.c 
/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccqCIO2a.out file, please attach this to
your bugreport.

COMPILE FAILED:
gcc -lrt -lm -std=gnu99 -O1 -march=opteron -o ACOVEA69B3EF01
-fno-merge-constants -fno-defer-pop -fno-omit-frame-pointer -fno-if-conversion
-fno-if-conversion2 -fno-loop-optimize -fno-crossjumping
-foptimize-sibling-calls -fgcse -frerun-cse-after-loop -frerun-loop-opt
-fforce-mem -fpeephole2 -fregmove -fdelete-null-pointer-checks
-fsched-interblock -fsched-spec -falign-labels -falign-functions -fweb
-fmove-all-movables -freduce-all-givs -fnew-ra -funswitch-loops
-funroll-all-loops -mieee-fp -mno-push-args -maccumulate-outgoing-args
-mno-align-stringops -minline-all-stringops -fno-math-errno -ffinite-math-only
-fno-signaling-nans -finline-limit=700 /usr/share/acovea/benchmarks/almabench.c 
/usr/share/acovea/benchmarks/almabench.c: In function `planetpv':
/usr/share/acovea/benchmarks/almabench.c:308: internal compiler error: in
remember_web_was_spilled, at ra-build.c:2314
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccx66Thq.out file, please attach this to
your bugreport.

<Here I pressed ctrl-c>


Expected Results:  
List of options that gives the best optimization.


Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/vlos"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl
eds emboss encode esd exif expat fam foomaticdb fortran gif glut gnome gpm
gstreamer gtk gtk2 hal howl imlib ipv6 java jpeg junit kde lcms lzw lzw-tiff mng
mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pdflib perl png python qt
quicktime readline samba sdl slang spell ssl tcpd tiff truetype truetype-fonts
type1-fonts udev usb userlocales vorbis xine xml2 xpm xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Mats Liljegren 2005-12-13 02:13:01 UTC
Created attachment 74622 [details]
Preprocessed source
Comment 2 Mats Liljegren 2005-12-13 02:14:16 UTC
Created attachment 74623 [details]
Preprocessed source
Comment 3 Mats Liljegren 2005-12-13 02:15:40 UTC
Created attachment 74624 [details]
Preprocessed source
Comment 4 Mats Liljegren 2005-12-13 02:17:09 UTC
Created attachment 74625 [details]
Preprocessed source
Comment 5 Mats Liljegren 2005-12-13 02:17:57 UTC
Created attachment 74626 [details]
Preprocessed source
Comment 6 Mats Liljegren 2005-12-13 02:18:51 UTC
Created attachment 74627 [details]
Preprocessed source
Comment 7 Mats Liljegren 2005-12-13 02:19:32 UTC
Created attachment 74628 [details]
Preprocessed source
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2005-12-23 21:07:51 UTC
All of these are caused by -fnew-ra, which was discontinued after gcc-3.4, so its highly unlikely we'll get a patch to fix it.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-12-30 17:54:05 UTC
*** Bug 104160 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-07-29 01:28:16 UTC
*** Bug 142063 has been marked as a duplicate of this bug. ***