Bug 2187553 - Build assembly files with CET
Summary: Build assembly files with CET
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nikita Popov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 23:24 UTC by Siddhesh Poyarekar
Modified: 2023-05-05 14:50 UTC (History)
12 users (show)

Fixed In Version: llvm-15.0.7-2.fc37
Clone Of:
Environment:
Last Closed: 2023-05-05 14:50:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Siddhesh Poyarekar 2023-04-17 23:24:19 UTC
The following change:

commit 8e1f53d786eed2a421793e354f7e08f327a31f73
Author: Nikita Popov <npopov>
Date:   Fri Nov 11 10:23:47 2022 +0100

    Copy CFLAGS to ASMFLAGs to enable CET in asm files

fixed an issue in llvm build on x86_64 where the final libLLVM.so did not get the SHSTK tag because some assembly files were not built with -fcf-protection.  Backport this into F37 so that libLLVM-15.so is usable with shadowstack userspace support enabled.

Reproducible: Always

Comment 1 Nikita Popov 2023-04-18 08:56:51 UTC
https://src.fedoraproject.org/rpms/llvm/pull-request/169 (untested, will need to check artifacts once the scratch build is done).

Comment 2 Fedora Update System 2023-04-20 08:07:50 UTC
FEDORA-2023-34a075d304 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-34a075d304

Comment 3 Fedora Update System 2023-04-21 03:52:48 UTC
FEDORA-2023-34a075d304 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-34a075d304`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-34a075d304

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

Comment 4 Fedora Update System 2023-05-05 14:50:24 UTC
FEDORA-2023-34a075d304 has been pushed to the Fedora 37 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.