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

Bug 29467

Summary: gcc-3.3.1 Compiler generates infinite loop
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED FIXED    
Severity: major CC: avenj
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gcc-unsharing_lhs.patch

Description SpanKY gentoo-dev 2003-09-23 16:26:34 UTC
debian has fixed this already, you can find the info here:
http://bugs.debian.org/cgi-bin/bugreport.cgi/gcc-unsharing_lhs.dpatch?bug=210848

basically gcc-3.3.1 generates an infinite loop under some circumstances ... some
good examples are things that use QT (i encounted this while upgrading to kde-3.1.4)
Comment 1 SpanKY gentoo-dev 2003-09-23 16:35:44 UTC
Created attachment 18222 [details, diff]
gcc-unsharing_lhs.patch

i'm re-compiling stuff now to double verify this
Comment 2 SpanKY gentoo-dev 2003-09-23 16:44:49 UTC
actually here is the original patch from gcc:
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00853.html
Comment 3 SpanKY gentoo-dev 2003-09-23 18:02:48 UTC
yeah, confirmed ... i had built QT with gcc-3.3.1-r3 and hit the infinite loop.

rebuilt gcc with the patch, rebuilt QT, and bam it all works again
Comment 4 Daniel Stone 2003-09-24 18:38:10 UTC
Yep, I can also confirm that this fixes; it definitely fixes up the problems on my 
Debian platform, and has now just done the same on Gentoo (once I convinced 
emerge not to stomp all over my shiny new -r3 ;). 
 
Cheers! 
:) d 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-24 19:13:46 UTC
Ok, added to 1.3 patch tarball, and commited.