Hi,
> On 18. Feb 2026, at 14:22, Clemens Lang <[email protected]> wrote:
>
> This makes me think the problem is somewhere in the toolchain, either in the
> compiler & linker, or in annocheck. Since the resulting binary does in fact
> not seem to have a .note.gnu.property section, I’m guessing it’s the former.
> The exact same code does not have the problem on F44, so something must
> recently have changed on rawhide.
Some more evidence:
$ podman run --rm -it registry.fedoraproject.org/fedora:43
[root@b1434eb03aab /]# touch empty.c
[root@b1434eb03aab /]# gcc -mbranch-protection=standard -c -o empty.o empty.c
[root@b1434eb03aab /]# readelf -n empty.o
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0
Properties: AArch64 feature: BTI, PAC, GCS
$ podman run --rm -it registry.fedoraproject.org/fedora:rawhide bash
[root@f7a05437cc6d /]# touch empty.c
[root@f7a05437cc6d /]# gcc -mbranch-protection=standard -c -o empty.o empty.c
[root@f7a05437cc6d /]# readelf -n empty.o; echo $?
0
Seems like GCC in rawhide doesn’t generate this anymore.
--
Clemens Lang
RHEL Crypto Team
Red Hat
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new