On Fri, 13 Dec 2013, Joachim Strömbergson wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Aloha!
Martin Storsjö wrote:
Well - hand-written assembly is one of the more problematic parts indeed. For x86 assembly, some other projects use nasm/yasm, but for non-x86, most projects end up with more elaborate tools for converting the gas source to something that the apple version of it can handle, such as https://github.com/libav/gas-preprocessor. But I'm pleasantly surprised by how well it has worked with nettle so far without requiring any external tools.
Just to check: Are you saying that normally/previously you have been able to build nettle on OSX, but not now?
Yes, previously I've been able to build nettle on OSX including all assembler optimizations.
And if so did you then disable usage of the asm versions in nettle?
With the current git master version it fails, but if I disable assembly using --disable-assembler, it works.
Do note that if you've previously tried (unsuccessfully) to build in the same directory and change the configuration, you'll need to do "make distclean" inbetween, otherwise the new configuration won't take effect properly. This sounds like the issue you're running into when trying to use --disable-assembler.
// Martin