FS#79920 - [yasm] Does not support note.gnu.property
Attached to Project:
Arch Linux
Opened by loqs (loqs) - Wednesday, 11 October 2023, 20:43 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:20 GMT
Opened by loqs (loqs) - Wednesday, 11 October 2023, 20:43 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:20 GMT
|
Details
Description:
yasm does not support note.gnu.property which is required for CET (shadow stack and indirect branch tracking) support [1]. Fixed upstream in [2] which applies cleanly. Without this support even if projects add the required support in their assembly files the assembler will drop it. Additional info: * yasm 1.3.0-6 [1] https://github.com/yasm/yasm/pull/148 [2] https://github.com/yasm/yasm/commit/0799f381d513e18f404654047fa1b412084968c8 Steps to reproduce: Build libjpeg-turbo with libjpeg-turbo-shstk.patch [3] applied. Note the readelf output: readelf -n /usr/lib/libjpeg.so.8.3.2 Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: SHSTK Replace nasm with yasm in makedepends and rebuild. Note the readelf output no longer contains .note.gnu.property. Rebuild with the patched yasm and the .note.gnu.property is present. |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:20 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/yasm/issues/1
Saturday, 25 November 2023, 20:20 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/yasm/issues/1
libjpeg-turbo-shstk.patch