On Wed, Dec 2, 2015 at 8:53 PM, Niels Möller nisse@lysator.liu.se wrote:
It was reported that nettle crashes with SIGILL on an armv7 system. I've gather some info from the report [0], but let me know if you need anything else.
It would be good to know how nettle was built, configure flags, configure output, etc. And which version.
My hunch is that this is neon related, and that the system that was used for compilation supported it but the final system doesn't.
That's a possible explanation, by default neon would be enabled if it's supported on the build system.
I'll disable neon support in the fedora builds and see how it works out.
For a binary distribution, it should be built with --disable-arm-neon,
Done that and it fixed the issue. The user had no neon support in the CPU.
or --enable-fat. If the failing library *was* built with --enable-fat, there might be some problem with the run-time detection.
I plan to use --enable-fat on fedora. I seem to have some issues with 3.1.1 (crashes on x86_64) when a "hardened" build is enabled (https://fedoraproject.org/wiki/Changes/Harden_All_Packages). I will investigate further.
regards, Nikos