Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 1008819

Summary: Compiler crashed on Fedora when compiling 3.11.1 linux source
Product: Red Hat Enterprise Linux 5 Reporter: Sri <sri.ram.gmu06>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Martin Cermak <mcermak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.9CC: dennis, jakub, law, mcermak, mpolacek, ohudlick
Target Milestone: ---   
Target Release: 5.10   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-4.1.2-55.el5 Doc Type: Bug Fix
Doc Text:
Previously, GCC could crash when compiling a code that initializes a structure that contains nested structures that contain typedef to an array of structures. A fix has been applied and GCC now compiles the code correctly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-16 00:28:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1049888    
Attachments:
Description Flags
bugreport none

Description Sri 2013-09-17 06:52:16 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Compiler version 4.1.2-33 RedHat

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
fs/gfs2/rgrp.c: In function ‘try_rgrp_unlink’:
fs/gfs2/rgrp.c:1648: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccvPwC7N.out file, please attach this to your bugreport.
make[2]: *** [fs/gfs2/rgrp.o] Error 1
make[1]: *** [fs/gfs2] Error 2
make: *** [fs] Error 2


Expected results:


Additional info:

Comment 1 Sri 2013-09-17 06:55:02 UTC
Created attachment 798639 [details]
bugreport

Comment 2 Dennis Gilmore 2013-09-17 13:27:22 UTC
reassigning to gcc, hoever that version of gcc shipped wuth Fedora 8 that has been End of Life for years now. you likely will need to reproduce with a current fedora release

Comment 3 Jakub Jelinek 2013-09-18 15:35:18 UTC
It reproduces on RHEL5 too, guess it has been fixed by
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg01298.html
but I guess the right fix is just to allow TYPE_DOMAIN to be NULL in type_contains_placeholder_1.  Seems since 2010 that function doesn't recurse through pointers and thus perhaps that is unnecessary on the trunk.

Comment 4 RHEL Program Management 2013-09-18 15:39:57 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2014-01-22 16:25:37 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 Dagmar Prokopová 2014-03-25 18:30:57 UTC
Verified for gcc-4.1.2-55.el5.

Comment 10 errata-xmlrpc 2014-09-16 00:28:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1209.html