[PATCH] aarch64: Do not link conform tests with -Wl, -z, force-bti (bug 33601)
Yury Khrustalev
yury.khrustalev@arm.com
Thu Nov 13 10:53:22 GMT 2025
On Wed, Nov 12, 2025 at 06:43:09PM +0100, Florian Weimer wrote:
> * Yury Khrustalev:
> ...
> > However, I cannot reproduce an issue. I have a GCC 14.2.0 that supports
> > BTI but does not enable branch protection by default, so, if I'm not
> > mistaken, this should trigger 33601 [1] but it does not: with and without
> > this patch (with confirm -> conform), I get some failed conform tests
> > but none of them have BTI in the test output logs. So, I'm a bit
> > confused.
>
> I see it with:
>
> ./configure --prefix=/usr CFLAGS="-O2 -Wall -g -mbranch-protection=standard"
Thanks, now I can reproduce the problem and see that the patch fixes it.
I'm running the tests now and will respond to your patch for 2.41 as
soon as they are done.
More information about the Libc-alpha
mailing list