Bug 699154

Summary: internal compiler error: in calculate_allocation, at vec.c:194
Product: [Fedora] Fedora Reporter: Dan Nicholson <dbn.lists>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 13CC: aravindvijayan224185, jakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-29 12:51:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
gcc preprocessed source none

Description Dan Nicholson 2011-04-23 17:18:41 UTC
Created attachment 494448 [details]
gcc preprocessed source

Building mesa from git (git://anongit.freedesktop.org/mesa/mesa) I get an internal compiler error shown below. The preprocessed file is attached.

Making all in src
gmake[1]: Entering directory `/home/dan/scm/xorg/mesa/src'
Making sources for autoconf
gmake[2]: Entering directory `/home/dan/scm/xorg/mesa/src/mapi/glapi'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/dan/scm/xorg/mesa/src/mapi/glapi'
gmake[2]: Entering directory `/home/dan/scm/xorg/mesa/src/glsl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/home/dan/scm/xorg/mesa/src/glsl'
gmake[2]: Entering directory `/home/dan/scm/xorg/mesa/src/mesa'
gmake[3]: Entering directory `/home/dan/scm/xorg/mesa/src/mesa/x86'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/dan/scm/xorg/mesa/src/mesa/x86'
gmake[3]: Entering directory `/home/dan/scm/xorg/mesa/src/mesa/x86-64'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/home/dan/scm/xorg/mesa/src/mesa/x86-64'
gcc -c -o main/pack.o main/pack.c -DFEATURE_GL=1 -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DHAVE_XEXTPROTO_71 -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary  -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_64_ASM -fvisibility=hidden
main/pack.c: In function ‘get_component_indexes’:
main/pack.c:404: internal compiler error: in calculate_allocation, at vec.c:194
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccqg2prE.out file, please attach this to your bugreport.
gmake[2]: *** [main/pack.o] Error 1
gmake[2]: Leaving directory `/home/dan/scm/xorg/mesa/src/mesa'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/home/dan/scm/xorg/mesa/src'
make: *** [all-recursive] Error 1

Comment 1 Aravind vijayan 2011-04-28 16:03:26 UTC
Reporter, could you please describe us what you have done to get to this point, and how we can reproduce this issue here? Is there anything special about your system, network, configuration which we need to replicate here in order to reproduce your problem please?



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Dan Nicholson 2011-04-29 12:51:32 UTC
Assuming you have an appropriate setup to build Mesa HEAD (need some X devel packages), the process is this:

$ git clone git://anongit.freedesktop.org/mesa/mesa
$ cd mesa
$ ./autogen.sh
$ make

The build would then bomb on src/mesa/main/pack.c.

Unfortunately, it's now working despite the fact that none of the toolchain packages have been updated on my system. I guess I'll close it for now.