Bug 1891308 - -fcf-protection dropped from x86_64 optflags
Summary: -fcf-protection dropped from x86_64 optflags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Tom Stellard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1802674
TreeView+ depends on / blocked
 
Reported: 2020-10-25 13:58 UTC by H.J. Lu
Modified: 2020-11-08 01:15 UTC (History)
10 users (show)

Fixed In Version: redhat-rpm-config-177-1.fc34 redhat-rpm-config-173-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-08 01:15:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description H.J. Lu 2020-10-25 13:58:30 UTC
ommit c18bafdecc821132b5ac33af001d79a6e0baab87
Author: Tom Stellard <tstellar>
Date:   Fri Aug 21 16:45:01 2020 +0000

    Enable -fstack-clash-protection for clang on x86, s390x, and ppc64le
    
    This is supported with LLVM >= 11

dropped -fcf-protection from x86_64 optflags:

-optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-unwind-tables %[ "%{toolchain}" == "gcc" ? "-fstack-clash-p
rotection" : "" ] -fcf-protection
+optflags: x86_64 %{__global_compiler_flags} -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection

Was this done on purpose?

Comment 1 Tom Stellard 2020-10-27 13:32:08 UTC
No, that was an accident.

Comment 3 Florian Weimer 2020-10-27 14:34:49 UTC
Also needs to be fixed in Fedora 33 (plus rebuilds).

Comment 4 Fedora Update System 2020-11-03 09:14:32 UTC
FEDORA-2020-3f4c2e8735 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3f4c2e8735

Comment 5 Fedora Update System 2020-11-04 03:00:28 UTC
FEDORA-2020-3f4c2e8735 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-3f4c2e8735`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3f4c2e8735

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-11-08 01:15:08 UTC
FEDORA-2020-3f4c2e8735 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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