Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192544 - [4.1/ICE] dev-libs/gmp-4.2.1-r1 emerge fails to compile
Summary: [4.1/ICE] dev-libs/gmp-4.2.1-r1 emerge fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 192558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-14 19:46 UTC by Curt Harms
Modified: 2007-09-27 11:43 UTC (History)
0 users

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


Attachments
This is the build.log from emerge. I'm hoping that it will be useful (build.log,3.91 KB, text/plain)
2007-09-14 19:48 UTC, Curt Harms
Details
This is the config log from emerge. I'm hoping that it will be useful. (config.log,22.87 KB, text/plain)
2007-09-14 19:50 UTC, Curt Harms
Details
Preprocessed source. (cctiYs40.out,722.93 KB, text/plain)
2007-09-14 20:44 UTC, Curt Harms
Details
emerge --info output (emerge_info,2.44 KB, text/plain)
2007-09-14 20:45 UTC, Curt Harms
Details
More preprocessed source (ccEDNaM9.out,723.29 KB, text/plain)
2007-09-21 04:00 UTC, Curt Harms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Curt Harms 2007-09-14 19:46:59 UTC
Every time I try to emerge gmp-4.2.1-r1 as part of a system update, the build fails. It fails at the following line:
     checking C++ compiler powerpc-unknown-linux-gnu-g++ -O2 -mcpu=G3 -mtune=G3 -pipe... no, std iostream
Other programs do compile on the system. 

Reproducible: Always

Steps to Reproduce:
emerge dev-libs/gmp-4.2.1-r1
Actual Results:  
It fails on the following line:

checking C++ compiler powerpc-unknown-linux-gnu-g++ -O2 -mcpu=G3 -mtune=G3 -pipe... no, std iostream

Expected Results:  
I expected the software to compile successfully.
Comment 1 Curt Harms 2007-09-14 19:48:45 UTC
Created attachment 130938 [details]
This is the build.log from emerge. I'm hoping that it will be useful
Comment 2 Curt Harms 2007-09-14 19:50:00 UTC
Created attachment 130939 [details]
This is the config log from emerge. I'm hoping that it will be useful.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-14 19:56:31 UTC
<snip>
conftest.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
conftest.cc:9: internal compiler error: in simplify_ternary_operation, at simplify-rtx.c:3526
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/dev-libs/gmp-4.2.1-r1/temp/ccHNuy2N.out file, please attach this to your bugreport.
</snip>

Can you reproduce this at *exactly* the same place every time? If you can, then attach the preprocessed source as the message told you. Also emerge --info is missing.
Comment 4 Curt Harms 2007-09-14 20:44:29 UTC
Created attachment 130945 [details]
Preprocessed source.

I tried compiling on the exact same install (same HD) on another identical machine to rule out any possible problem with the 1st machine. (It is old after all.) I got exactly the same error. I think that the old preprocessed source got overwritten with the preprocessed source from this compile, so I've included the new preprocessed source. I hope that doesn't cause a problem.
Comment 5 Curt Harms 2007-09-14 20:45:47 UTC
Created attachment 130947 [details]
emerge --info output
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-14 20:47:59 UTC
Thanks.
Comment 7 SpanKY gentoo-dev 2007-09-14 23:49:37 UTC
builds fine for me on my ppc with your flags

can you verify that taking that preprocessed source file, naming it 'test.ii', and then running:
g++ -c test.ii -O2 -mcpu=G3 -mtune=G3

causes gcc to ICE ?
Comment 8 Curt Harms 2007-09-15 00:03:08 UTC
The system I'm working on is at work, and I'm just about to leave town for the weekend. I will run the compile you asked for as soon as I get in there next week. Thanks for checking up on it so quickly :) 

(In reply to comment #7)
> builds fine for me on my ppc with your flags
> 
> can you verify that taking that preprocessed source file, naming it 'test.ii',
> and then running:
> g++ -c test.ii -O2 -mcpu=G3 -mtune=G3
> 
> causes gcc to ICE ?
> 

Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-09-15 07:25:42 UTC
*** Bug 192558 has been marked as a duplicate of this bug. ***
Comment 10 Curt Harms 2007-09-21 03:58:58 UTC
(In reply to comment #7)
> builds fine for me on my ppc with your flags
> 
> can you verify that taking that preprocessed source file, naming it 'test.ii',
> and then running:
> g++ -c test.ii -O2 -mcpu=G3 -mtune=G3
> 
> causes gcc to ICE ?
> 

I tried that and I get an internal compiler error. Here are the results:

conftest.cc: In function 'void __static_initialization_and_destruction_0(int, int)':
conftest.cc:9: internal compiler error: in simplify_ternary_operation, at simplify-rtx.c:3526
Please submit a full bug report,
with preprocessed srouce if appropriate.
<snip>
Preprocessed source stored in /tmp/ccEDNaM9.out file <snip>

I will leave this preprocessed source in another attachment. For now I'm going to try re-installing on another partition, with a new gcc and see if this is still a problem. I will preserve this install. 
Comment 11 Curt Harms 2007-09-21 04:00:14 UTC
Created attachment 131479 [details]
More preprocessed source

This is the preprocessed source from trying to compile the other preprocessed source as requested.
Comment 12 Curt Harms 2007-09-27 11:43:30 UTC
I tried a new install on the same system, and this package compiled without any trouble. I'm going to assume that I had a bad gcc for some reason. Therefore, I've marked the bug as fixed.