Bug 1570823

Summary: -mcet should be removed from __global_compiler_flags
Product: [Fedora] Fedora Reporter: H.J. Lu <hongjiu.lu>
Component: redhat-rpm-configAssignee: Florian Weimer <fweimer>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: ajax, ffesti, fweimer, ignatenko, jakub, john.j5live, jonathan, law, mpolacek, pmatilai, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: redhat-rpm-config-109-1.fc29 redhat-rpm-config-108-1.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1574937 (view as bug list) Environment:
Last Closed: 2018-05-16 13:07:11 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:
Bug Depends On:    
Bug Blocks: 1574937    

Description H.J. Lu 2018-04-23 12:59:10 UTC
Requirement of -mcet to enable CET has been removed
from GCC 8 by revision 259496:

commit b1384095a7c1d06a44b70853372ebe037b2f7867
Author: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Apr 19 15:15:04 2018 +0000

    x86: Enable -fcf-protection with multi-byte NOPs

-fcf-protection no longer depens on -mcet.  -mcet should be removed
from __global_compiler_flags.

Comment 1 Florian Weimer 2018-04-23 16:23:03 UTC
Not rthat the above commit is not currently in Fedora (gcc-8.0.1-0.20.fc28.x86_64, gcc-8.0.1-0.21.fc29.x86_64).  Coordination with the GCC maintainers is needed.

Comment 2 Florian Weimer 2018-05-02 09:43:49 UTC
We need to fix this in Fedora 28 as well, but this needs a GCC update first.  gcc-8.0.1-0.20.fc28 still requires -mcet for -fcf-protection.

Comment 3 Fedora Update System 2018-05-14 12:20:23 UTC
redhat-rpm-config-108-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fddc25161e

Comment 4 Fedora Update System 2018-05-14 20:39:47 UTC
redhat-rpm-config-108-1.fc28 has been pushed to the Fedora 28 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-fddc25161e

Comment 5 Fedora Update System 2018-05-16 13:07:11 UTC
redhat-rpm-config-108-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.