Bug 1008819 - Compiler crashed on Fedora when compiling 3.11.1 linux source
Summary: Compiler crashed on Fedora when compiling 3.11.1 linux source
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gcc
Version: 5.9
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 5.10
Assignee: Jakub Jelinek
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks: 1049888
TreeView+ depends on / blocked
 
Reported: 2013-09-17 06:52 UTC by Sri
Modified: 2014-09-16 00:28 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-09-16 00:28:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
bugreport (1.29 MB, text/plain)
2013-09-17 06:55 UTC, Sri
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1209 0 normal SHIPPED_LIVE gcc bug fix update 2014-09-16 04:16:31 UTC

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


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