Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1756650 - Internal compiler error with GCC 9.2.1 and precompiled headers and ppc64-le
Summary: Internal compiler error with GCC 9.2.1 and precompiled headers and ppc64-le
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 30
Hardware: ppc64le
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2019-09-28 21:12 UTC by Jonathan Briggs
Modified: 2020-05-26 18:31 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 18:31:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Source code for reproduction (900 bytes, application/gzip)
2019-09-28 21:12 UTC, Jonathan Briggs
no flags Details
preprocessed source for bug report (1.34 MB, text/x-csrc)
2019-09-28 21:13 UTC, Jonathan Briggs
no flags Details

Description Jonathan Briggs 2019-09-28 21:12:39 UTC
Created attachment 1620617 [details]
Source code for reproduction

Description of problem:
When compiling the attached code on a Power9 running Fedora 30, it has an ICE.
This does not crash on an AMD Ryzen also running Fedora 30.
It does not crash when precompiled headers are not used.

Version-Release number of selected component (if applicable):
gcc-9.2.1-1.fc30.ppc64le

How reproducible:
Always

Steps to Reproduce:
1. Unpack the attached extern-template-test-tgz file on a 
   Linux power.zlynx.org 5.2.13-200.fc30.ppc64le #1 SMP Fri Sep 6 14:09:32 UTC 2019 ppc64le ppc64le ppc64le GNU/Linux
2. make


Actual results:
g++ -Wall -W -pedantic -Winvalid-pch -g -O3 -flto -fno-fat-lto-objects -pthread -MMD -fpch-deps -std=c++17 stdafx.hpp -o stdafx.hpp.gch
g++ -Wall -W -pedantic -Winvalid-pch -g -O3 -flto -fno-fat-lto-objects -pthread -MMD -fpch-deps -std=c++17   -c -o templates.o templates.cpp
g++ -Wall -W -pedantic -Winvalid-pch -g -O3 -flto -fno-fat-lto-objects -pthread -MMD -fpch-deps -std=c++17   -c -o main.o main.cpp
stdafx.hpp:1: internal compiler error: Segmentation fault
    1 | #include <algorithm>
      | 
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccnTfNor.out file, please attach this to your bugreport.
make: *** [<builtin>: main.o] Error 1

Comment 1 Jonathan Briggs 2019-09-28 21:13:19 UTC
Created attachment 1620618 [details]
preprocessed source for bug report

Comment 2 Dan Horák 2020-03-31 12:03:49 UTC
I can't reproduce that with gcc-9.2.1-2.fc30.ppc64le (downloaded from koji) or with gcc-9.3.1-1.fc30.ppc64le (from updates-testing).

Comment 3 Ben Cotton 2020-04-30 20:18:12 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Ben Cotton 2020-05-26 18:31:44 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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