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

Bug 192558

Summary: [4.1/ICE] sys-libs/ncurses-5.6-r1 will not compile
Product: Gentoo Linux Reporter: Curt Harms <general>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the build.log file
Preprocessed source
output of emerge --info

Description Curt Harms 2007-09-14 22:27:31 UTC
I have tried multiple times (in fact I even tried on another identical machine) and ncurses-5.6-r1 will not compile. (I also tried ncurses-5.6 and it didn't compile either, but that's a different story, and I figure that I'll focus on the r1 version.) It always fails in exactly the same place. I will attach the build.log file, the preprocessed source, and the output of emerge --info. I discovered this bug while trying to do a system update after a fresh install of 2007.0 from the minimal disk. 

Reproducible: Always

Steps to Reproduce:
emerge ncurses

(or during an emerge --emptytree world, or emerge --update --deep --newuse world)

Actual Results:  
The compile always fails at the same place, when trying to compile /var/tmp/portage/sys-libs/ncurses-5.6-r1/work/ncurses-5.6/c++/cursesf.cc. I get:
/var/tmp/portage/sys-libs/ncurses-5.6-r1/work/ncurses-5.6/c++/cursesf.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
/var/tmp/portage/sys-libs/ncurses-5.6-r1/work/ncurses-5.6/c++/cursesf.cc:454: internal compiler error: in simplify_ternary_operation, at simplify-rtx.c:3526

Expected Results:  
I expected that ncurses would compile.
Comment 1 Curt Harms 2007-09-14 22:28:00 UTC
Created attachment 130955 [details]
the build.log file
Comment 2 Curt Harms 2007-09-14 22:28:47 UTC
Created attachment 130957 [details]
Preprocessed source
Comment 3 Curt Harms 2007-09-14 22:29:14 UTC
Created attachment 130958 [details]
output of emerge --info
Comment 4 Curt Harms 2007-09-14 22:52:24 UTC
I just tried to emerge ncurses-5.5-r3 and got a very similar error, also on cursesf.cc. Perhaps there is something wrong with my compiler?
Before I tried the updating, I did update glibc, and then gcc. Both of these operations appeared successful, and other packages have compiled successfully. I don't know if that helps or not, as my programming skills are rudimentary at best. 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 07:25:42 UTC
Your gcc is weird.

*** This bug has been marked as a duplicate of bug 192544 ***