Bug 524439 - vlc 1.0.2 raised an internal compiler error in simplify_const_unary_operation
Summary: vlc 1.0.2 raised an internal compiler error in simplify_const_unary_operation
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL: http://buildsys.rpmfusion.org/logs/fe...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-20 08:11 UTC by Nicolas Chauvet (kwizart)
Modified: 2009-09-24 06:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-24 06:55:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
compiler error reproduced on my own workstation (43.01 KB, application/x-bzip)
2009-09-20 08:13 UTC, Nicolas Chauvet (kwizart)
no flags Details

Description Nicolas Chauvet (kwizart) 2009-09-20 08:11:21 UTC
Description of problem:
While building the lastest vlc package in rawhide, the compiler showed an expection compiling  simplify-rtx.c:

bd.c: In function 'Open':
bd.c:214: internal compiler error: in simplify_const_unary_operation, at simplify-rtx.c:1208



Version-Release number of selected component (if applicable): RAWHIDE
gcc                   x86_64    4.4.1-15


How reproducible:
Reproduced on x86_64 (still testing on i686)
This work fine on ppc and ppc64.

Steps to Reproduce:
1. Build the lastest vlc 1.0.2 src.rpm
  
Actual results:
build failed

Expected results:
This build works on F-11 x86_64

Additional info:
http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/5030-vlc-1.0.2-1.fc12/x86_64/build.log
http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_free/5030-vlc-1.0.2-1.fc12/x86_64/root.log

Version of the source code:
http://download.videolan.org/pub/videolan/vlc/1.0.2/vlc-1.0.2.tar.bz2

Comment 1 Nicolas Chauvet (kwizart) 2009-09-20 08:13:00 UTC
Created attachment 361811 [details]
compiler error reproduced on my own workstation

Comment 2 Nicolas Chauvet (kwizart) 2009-09-22 06:29:27 UTC
the bd.c compilation worked with -O0 instead of our $RPM_OPT_FLAGS.

Comment 3 Jakub Jelinek 2009-09-22 06:36:08 UTC
See http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01388.html
As a temporary workaround, instead of -O0 build with
-fno-var-tracking-assignments, but please don't forget to revert it when gcc is fixed.

Comment 4 Jakub Jelinek 2009-09-24 06:55:06 UTC
Fixed in gcc-4.4.1-16.


Note You need to log in before you can comment on or make changes to this bug.