Jeffrey Walton noloader@gmail.com writes:
I enabled Altivec builds with --enable-power-altivec and --enable-fat.
Don't do that. As I've tried to explain before, that combination makes no sense. --enable-power-altivec means "unconditionally use the altivec code". --enable-fat (now the default) means "let the fat setup code determine at runtime if altivec (and other) features should be used".
That said, I haven't done any tests of the altivec code on Mac. I'd have to rely on help from Mac users to fix any problems.
Auditing the dylib it appears Altivec was not engaged:
$ otool -tV /usr/local/lib/libnettle.dylib | grep perm 0001f124 b _nettle_sha3_permute _nettle_sha3_permute: 000204ec bl _nettle_sha3_permute
I think there's something a bit sideways here.
You're a bit too terse, I have no idea what problem this is intended to illustrate.
Regards, /Niels