Bug 722575 - internal compiler error when compiling mame-0.143u1
Summary: internal compiler error when compiling mame-0.143u1
Keywords:
Status: CLOSED DUPLICATE of bug 717240
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-15 17:19 UTC by Julian Sikorski
Modified: 2011-07-19 11:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-19 11:56:35 UTC
Type: ---


Attachments (Terms of Use)
preprocessed source (661.65 KB, text/plain)
2011-07-15 17:20 UTC, Julian Sikorski
no flags Details

Description Julian Sikorski 2011-07-15 17:19:24 UTC
Description of problem:
The latest mame version fails to compile on rawhide:
Compiling src/mame/video/gaelco3d.c...
gcc -DCRLF=2 -DINLINE="static inline" -DLSB_FIRST -DPTR64 -DNDEBUG  -DDISTRO=generic "-DSDLMAME_ARCH=" -DSYNC_IMPLEMENTATION=tc -DSDLMAME_UNIX -DUSE_OPENGL=1 -DUSE_DISPATCH_GL=1 -DSDLMAME_X11 -DNATIVE_DRC=drcbe_x64  -pipe -g2 -fno-omit-frame-pointer -O2 -fno-strict-aliasing  -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DINI_PATH='"/etc/mame;"' -m64 `sdl-config --cflags  | sed -e 's:/SDL::' -e 's:\(-I[^ ]*\)::g'` `pkg-config --cflags-only-other gtk+-2.0` `pkg-config --cflags-only-other gconf-2.0` -Isrc/mame -Iobj/sdl/mame/mame/layout -Isrc/emu -Iobj/sdl/mame/emu -Iobj/sdl/mame/emu/layout -Isrc/lib/util -Isrc/lib -Isrc/osd -Isrc/osd/sdl  -Isrc/debug -include src/osd/sdl/sdlprefix.h `sdl-config --cflags  | sed -e 's:/SDL::' -e 's:\(-D[^ ]*\)::g'` `pkg-config --cflags fontconfig` `pkg-config --cflags-only-I gtk+-2.0` `pkg-config --cflags-only-I gconf-2.0` -I/usr/X11/include -I/usr/X11R6/include -I/usr/openwin/include  -x c++ -std=gnu++98 -c src/mame/video/gaelco3d.c -o obj/sdl/mame/mame/video/gaelco3d.o
src/mame/video/gaelco3d.c: In function 'void render_normal(void*, INT32, const poly_extent*, const void*, int)':
src/mame/video/gaelco3d.c:303:1: internal compiler error: in mem_loc_descriptor, at dwarf2out.c:14810
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccGbOMXE.out file, please attach this to your bugreport.
make: *** [obj/sdl/mame/mame/video/gaelco3d.o] Error 1
make: *** Waiting for unfinished jobs....

Version-Release number of selected component (if applicable):
4.6.1-1.fc16

How reproducible:
always

Steps to Reproduce:
1. wget http://buildsys.rpmfusion.org/logs/fedora-development-rpmfusion_nonfree/9877-mame-0.143u1-1.fc16/mame-0.143u1-1.fc16.src.rpm
2. mock -r fedora-rawhide-x86_64 mame-0.143u1-1.fc16.src.rpm
  
Actual results:
build fails

Expected results:
build succeeds

Additional info:
The source file can be found here: 
http://mamedev.org/source/src/mame/video/gaelco3d.c.html

Comment 1 Julian Sikorski 2011-07-15 17:20:01 UTC
Created attachment 513420 [details]
preprocessed source

Comment 2 Jakub Jelinek 2011-07-19 11:56:35 UTC
Fixed in gcc-4.6.1-3.fc16.

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


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