Hey Stephen,

Not sure if that would be helpful but when I was dealing (and still am tbh)
with the same issue for CPython I used this blogspot from ARM as a
reference point:
https://developer.arm.com/community/arm-community-blogs/b/architectures-and-processors-blog/posts/enabling-pac-and-bti-on-aarch64
.

Here is my solution which we already have in Fedora/RHEL, but not yet
merged upstream as I have to figure out the non-frame pointers builds
https://github.com/python/cpython/pull/130864

On Wed, Feb 11, 2026 at 10:52 PM Stephen Gallagher <[email protected]>
wrote:

> While attempting to package libuv 1.52.0, I discovered via rpminspect
> that a change[1] made since 1.51.0 has introduced some assembly that
> leaves GCC unable to determine whether the resulting binaries are
> BTI-safe. I am not sure of the best way to approach this. I'm pretty
> sure that this specific usage is fine, but I don't particularly want
> to use `-Wl,-z,force-bti` because that could end up hiding a truly
> unsafe change later on.
>
> I am not well enough versed in low-level compiler knowledge to figure
> out what the alternative would be, though. I don't want to just revert
> the upstream patch, because I'm led to believe that this will have a
> negative impact on a significant percentage of ARM hardware.
>
> I would very much appreciate some help figuring this one out.
>
> [1] https://github.com/libuv/libuv/pull/4863
>
> --
> _______________________________________________
> 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
>


-- 
Regards,

Charalampos Stratakis
Senior Software Engineer
Python Maintenance 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

Reply via email to