Bug 70857

Summary: gcc internal error compiling MPlayer-0.90pre6
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jmd>
Component: gcc3Assignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: Florian.P.Nierhaus, m.woszczyna
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-0.90pre6.tar.bz2
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-03 00:17:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
pre-processed file (see comment) none

Description Need Real Name 2002-08-06 05:47:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020805

Description of problem:
In file included from mplayer/mplayer.c:40:
mplayer/mw.h: In function `mplMainDraw':
mplayer/mw.h:215: Internal compiler error in print_rtl_and_abort, at flow.c:6458
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[1]: *** [mplayer/mplayer.o] Error 1
make[1]: Leaving directory `/home/jmd/MPlayer-0.90pre6/Gui'
make: *** [Gui/libgui.a] Error 2

How reproducible:
Always

Steps to Reproduce:
1. ./configure  --enable-gui
2. make

Comment 1 Need Real Name 2002-08-06 05:51:44 UTC
Looks like mplayer calls gcc3 explicitly. Changing component.

The failed command is:

gcc3 -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer
-fexpensive-optimizations -fschedule-insns2 -Wall -malign-double -I. -I./event
-I./wm -I./skin -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DDEBUG  -o
mplayer/mplayer.o mplayer/mplayer.c

I changed -O4 to -O2 and it compiled OK.

Comment 2 Marek Woszczyna 2002-10-03 10:17:55 UTC
I have the same problem with RedHat 7.3

Comment 3 Need Real Name 2002-12-06 15:03:24 UTC
Same here.

gcc3 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)



Comment 4 Need Real Name 2002-12-06 15:09:10 UTC
Created attachment 87664 [details]
pre-processed file (see comment)

Comment 5 Need Real Name 2002-12-06 15:10:54 UTC
You can not reproduce without installing MPlayer. I attached the pre-processed c
file. You can reproduce with:

gcc3 -c  -O4  -march=athlon -mcpu=athlon -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer
-fexpensive-optimizations -fschedule-insns2 -Wall -malign-double -DDEBUG  -o
mw.cpp.o mw.cpp.c


mplayer/mw.c: In function `mplMainDraw':
mplayer/mw.c:191: warning: unused variable `type'
mplayer/mw.c:244: Internal compiler error in print_rtl_and_abort, at flow.c:6458
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Comment 6 Richard Henderson 2004-10-03 00:17:13 UTC
No ICE with gcc 3.2.