Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/nss is broken on aarch64 (toolchain problem, help needed)



On Sun, 12 Apr 2020 12:22:33 +0100
Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:

> I also have a patch that I was about to commit that adds detection of
> support for these instructions on NetBSD. Without the patch, nss
> wouldn't call the code that is failing to build.

Hi,

I tried to remove the code but it seems it was still needed to link
even if dead. A workaround for the problem which makes the package
build for me is to paste this in the top of the two affected .c files:

#ifdef __NetBSD__
asm(".arch armv8-a+crypto");
#endif

I'm a bit reluctant to commit it unless nobody can explain what's going
on with the compiler.

-Tobias


Home | Main Index | Thread Index | Old Index