RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 831690 - internal compiler error: Segmentation fault
Summary: internal compiler error: Segmentation fault
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gcc
Version: 6.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jakub Jelinek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 15:01 UTC by Kevin Abbey
Modified: 2012-10-08 10:30 UTC (History)
2 users (show)

Fixed In Version: gcc-4.4.6-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-08 10:30:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
partial output from the terminal (18.49 KB, application/octet-stream)
2012-06-13 15:01 UTC, Kevin Abbey
no flags Details
fortran source code that reproduces the problem (7.81 KB, text/plain)
2012-09-20 20:52 UTC, Mark Sienkiewicz
no flags Details

Description Kevin Abbey 2012-06-13 15:01:45 UTC
Created attachment 591536 [details]
partial output from the terminal

Description of problem:
I was attempting to compile tests for the ATLAS with full LAPACK library.

Version-Release number of selected component (if applicable):

more /etc/redhat-release 
CentOS release 6.2 (Final)

atlas3.9.78.tar.bz2
lapack-3.4.1.tgz


 gfortran -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC)



How reproducible:


Steps to Reproduce:
1. 
../ATLAS/configure --prefix=/ccib-bsb-164/u1/opt/software/ATLAS/3.9.78_tunedlap  -Fa alg -fPIC  -Si latune 1 -Ss flapack /opt/software/python/src/atlas/lapack/lapack-3.4.1/SRC

2.
Usually, you will want to test your newly install ATLAS LAPACK & BLAS:
   make lapack_test_al_ab

stbt05.f: In function ‘stbt05’:
stbt05.f:189: internal compiler error: Segmentation fault

3. 
  
Actual results:
internal compiler error: Segmentation fault

Expected results:
no error

Additional info:

If the optimization for this one file if removed or change to -O3 it builds clean with no error.  If the optimization is -O, -O1, -O2 then there is an internal error, segfault.

Comment 2 Mark Sienkiewicz 2012-09-20 20:52:52 UTC
Created attachment 615120 [details]
fortran source code that reproduces the problem

% gfortran -m64 -fPIC -O1  -c stpt05.f 
stpt05.f: In function 'stpt05':
stpt05.f:1: internal compiler error: Segmentation fault

Red Hat Enterprise Linux Server release 6.2 (Santiago)

Comment 3 Mark Sienkiewicz 2012-09-20 20:53:40 UTC
On:

Red Hat Enterprise Linux Server release 6.2 (Santiago)

% gfortran -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) 


% gfortran -m64 -fPIC -O1  -c stpt05.f 
stpt05.f: In function 'stpt05':
stpt05.f:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

I'm attachnig stpt05.f; it comes from lapack-3.2.2 from netlib.

Comment 4 Jakub Jelinek 2012-10-08 10:30:05 UTC
This has been fixed already in gcc-gfortran-4.4.6-4.el6.
See http://rhn.redhat.com/errata/RHBA-2012-0941.html


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