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

Bug 263821

Summary: sys-devel/gcc-4.3.3-r1: internal compiler error when GCC compiled with -O3 tries to compile media-video/ffmpeg-0.5-r1
Product: Gentoo Linux Reporter: Some stupid real name <math228a>
Component: [OLD] GCC PortingAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Some stupid real name 2009-03-26 02:41:09 UTC
I have compiled my system with -O3 using GCC 4.3.3 compiled with -O2 (i.e., the very GCC was compiled with -O2) and everything went OK (exact CFLAGS: -pipe -O3 -march=athlon64 -mmmx -msse -msse2 -fomit-frame-pointer). However, when I updated my USE flags, forcing the new -O3 GCC to recompile ffmpeg, at some stage I got an internal compiler error. Changing the CFLAGS to -O2 and recompiling GCC helped. 

Reproducible: Always

Steps to Reproduce:
1. Compile sys-devel/gcc-4.3.3-r1 with -O3.
2. Compile media-video/ffmpeg-0.5-r1 with -O3

Actual Results:  
ffmpeg-0.5-r1 doesn't compile, you get internal compiler error at some stage

Expected Results:  
clear compilation

The machine is an x86_64-pc-linux-gnu, make was running with -j3 because the processor is dual core. Nothing else of importance.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-03-26 02:46:13 UTC
Please re-merge gcc and try again. If it still fails, you can re-open this bug.

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