John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:

> nettle fails to build from source on ppc64 due to uncondtional use of the 
> lxvb16x
> VSX instruction [1]:
>
> Illegal instruction
> FAIL: gcm
>
> This seems to have been fixed upstream [1], but the fix has not been released 
> yet.

I take it this could motivate a bugfix release, but on the debian side I
guess you may want to backport fixes.

>> [2] 
>> https://git.lysator.liu.se/nettle/nettle/-/commit/2dffb58ae9e11a1626aa12a1ca9432338458fb44

I think you also need "Avoid using stxv/lxv instructions in powerpc64/p8
files.",
https://git.lysator.liu.se/nettle/nettle/-/commit/d891462ba3f6e39e3696b657dcb69e9869ad9762

BTW: You also ask in a different email that nettle shouldn't assume
power8 (simplest way would be to disable all powerpc assembly for
earlier processors), would you be able to propose or test configure
changes for that? (https://git.lysator.liu.se/nettle/nettle/-/issues/7
suggested testing for __VSX__, but I suspect that's slightly different from
your use case?).

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.

Reply via email to