Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23026

Summary: ncurses gcc-3.3 error
Product: Gentoo Linux Reporter: Todd Berman (RETIRED) <tberman>
Component: [OLD] Core systemAssignee: John Mylchreest (RETIRED) <johnm>
Status: RESOLVED WONTFIX    
Severity: normal CC: flonai
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Todd Berman (RETIRED) gentoo-dev 2003-06-17 20:54:05 UTC
cd ../obj_s;  gcc -DNDEBUG -D_GNU_SOURCE -I. -I../include -DHAVE_CONFIG_H 
-march=athlon-tbird -O3 -pipe  -fPIC -c ../form/frm_driver.c
../form/frm_driver.c:3093: internal compiler error: in remove_edge, at
callgraph.c:189
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [../obj_s/frm_driver.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.3-r2/work/ncurses-5.3/form'
make: *** [all] Error 2
 
!!! ERROR: sys-libs/ncurses-5.3-r2 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! parallel make failed
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2003-06-18 04:21:40 UTC
I will accept this bug and investigate into having the fix permanently placed into the ebuild.
however the fix for this (iirc) is to compile ncurses using MAKEOPTS="-j1"
it cannot support parrallel makes with gcc-3.3

please try: MAKEOPTS="-j1" emerge ncurses

Comment 2 John Mylchreest (RETIRED) gentoo-dev 2003-06-18 07:05:48 UTC
please also ensure that it is compiled with -O2 in your CFLAGS or less.
-O3+ breaks it
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-06-21 11:31:18 UTC
This issue will be re-addressed when gcc-3.3 hammer patches have been taken care of
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 10:53:19 UTC
*** Bug 21209 has been marked as a duplicate of this bug. ***
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2003-08-15 08:09:39 UTC
ayanami root # CFLAGS="-march=pentium4 -O3"  emerge /usr/portage/sys-libs/ncurses/ncurses-5.3-r2.ebuild 

ayanami root # gcc --version
gcc (GCC) 3.3.1  (Gentoo Linux 3.3.1, propolice)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

compiles fine here. it seems this ICE is fixed in gcc 3.3.1