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 1540221

Summary: gcc: Stack spilling in i686 -fstack-clash-protection prologue neglects %esp change
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: gccAssignee: Jeff Law <law>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aoliva, davejohansen, fweimer, jakub, jwakely, law, mpolacek, ppisar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-8.0.1-0.9.fc28 gcc-7.3.1-3.fc27 gcc-7.3.1-5.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 17:31:32 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:

Description Florian Weimer 2018-01-30 13:51:35 UTC
See bug 1515865 comment 9.

This is another wrong-code bug in -fstack-clash-protection on i686.  It causes miscompilation of pcre and pcre2.  Filing downstream for tracking purposes.  The upstream bug has a reproducer.

Comment 1 Jeff Law 2018-02-01 16:38:21 UTC
Fixed upstream.  Builds spinning for f27 and rawhide.

Comment 2 Petr Pisar 2018-02-02 11:14:32 UTC
Thanks. I confirm gcc-8.0.1-0.9.fc28 works for me.

Comment 3 Fedora Update System 2018-03-04 19:25:47 UTC
gcc-7.3.1-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-dd08df5b34

Comment 4 Fedora Update System 2018-03-05 20:11:34 UTC
gcc-7.3.1-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-dd08df5b34

Comment 5 Fedora Update System 2018-03-06 17:31:32 UTC
gcc-7.3.1-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.