Hi, Offhand this sound more like a miscompilation where libgcc or similar wasn't compiled correctly and the result is that its turning bti off for the entire object, but then its not being linked in this case so. Give me a bit to look at it.
________________________________ From: Clemens Lang <[email protected]> Sent: Wednesday, February 18, 2026 7:31 AM To: Development discussions related to Fedora <[email protected]> Cc: Jeremy Linton <[email protected]> Subject: Re: libuv failing the BTI check on aarch64 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 IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-- _______________________________________________ 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
