Closed thesamesam closed 11 months ago
Thanks for the report - we must not be passing the right flags to enable the instructions here.
BTW in the linked Gentoo bug I noticed you added cpu_use
flags for ARMv8 SHA1/SHA2 - here we are using the ARMv8 SM4 instructions and you may want to have a flag for that as well.
Thanks @randombit - the PR works for me.
I'll also check out the SM4 bits, we don't currently have a USE flag for it at all (not just in Botan) so I'll file a bug for that.
Sorry for the bug, I must have missed that bit. But glad to see that ninja support is being used downstream. 😊
Originally reported downstream in Gentoo at https://bugs.gentoo.org/915544 (w/ regular gcc 13 as well, I just happened to reproduce it w/ gcc 14 below):
I can only reproduce this with
--build-tool=ninja
(I was keen to try it for the nice progress bars and faster builds). I'll flip us back tomake
for the ebuild for now.