Bug 808285

Summary: gcc releases up to 4.6.2 triggers ICE when compiling Gambit Scheme at -O2 on ppc64
Product: Red Hat Enterprise Linux 6 Reporter: Michel Lind <michel>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: law, michel, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-30 16:35:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Build log on fedora-16-ppc64
none
Preprocessed source that triggered the internal compiler error none

Description Michel Lind 2012-03-30 03:34:44 UTC
Created attachment 573869 [details]
Build log on fedora-16-ppc64

Description of problem:
gambit-c up to version 4.6.3 builds cleanly on ppc64, but this is no longer the case with the latest two releases

Version-Release number of selected component (if applicable):
gambit-c-4.6.5-1.el6

How reproducible:
Always

Steps to Reproduce:
1. fedpkg clone gambit-c && cd gambit-c
2. fedpkg switch-branch el6 && fedpkg srpm
3. rpm -i gambit-c-*.src.rpm
4. rpmbuild -bb --with ppc64 gambit-c.spec
  
Actual results:
See attached log for 4.6.5 (on Fedora 16; the EPEL 6 target in mock is currently broken)

Expected results:
Build succeeds

Additional info:

Comment 1 Michel Lind 2012-03-30 03:36:58 UTC
Created attachment 573870 [details]
Preprocessed source that triggered the internal compiler error

Comment 2 Michel Lind 2012-03-30 05:57:03 UTC
Reported upstream:

  http://www.iro.umontreal.ca/~gambit/bugzilla/show_bug.cgi?id=155

Comment 3 Michel Lind 2012-04-02 04:16:31 UTC
This bug is fixed in GCC 4.7.0 (as tested on the PPC test machine's fedora-rawhide-ppc64 target) but present as late as GCC 4.6.2 (tested on the fedora-16-ppc64 target) as well as the GCC 4.4.6 release shipping with EPEL 6.

Compiling with -O1 (which is the default up to Gambit 4.6.3) works around this problem, but upstream points out that it's a GCC problem.

Upstream bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52829

Comment 5 RHEL Program Management 2012-05-03 05:31:49 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

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

Comment 6 RHEL Program Management 2012-07-10 08:35:33 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 7 RHEL Program Management 2012-07-10 23:14:32 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 9 RHEL Program Management 2012-12-14 08:32:28 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 10 RHEL Program Management 2014-09-30 16:35:52 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.