Eli Zaretskii eliz@gnu.org writes:
From: nisse@lysator.liu.se (Niels Möller) You should get
define(<ELF_STYLE>, <no>)dnl define(<COFF_STYLE>, <yes>)dnl
in config.m4
That's what I get, yes.
Good.
in the preprocessed assembler files, e.g, arcfour-crypt.s.
I don't have this file; how do I create it?
It should be created in the build dir, as an intermediate step between .asm and .o. And appropriate .asm files are linked into the build dir by configure.
For me, objdump -t arcfour-crypt.o now says
[ 2](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 1) 0x00000000 _nettle_arcfour_crypt
where the value for "ty" is important.
I have this line in objdump's output, but it says
[ 24](sec 0)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 _nettle_arcfour_crypt
Are the differences between these two lines significant?
I guess not, but I don't know for sure.
Actually, "(sec 1)" in my build looks a bit suspicious, because according to objdump -x, section 1 is .data, and .text is section 0.
I think 5.0.2 should work fine. If you want to exclude this potential source of error, you can reconfigure with --disable-public-key.
That fixed the problem, so it must have been unrelated to the one you needed to (and did) solve. Not sure why libgmp I have caused trouble, I will look into that later.
In my windows cross-build, I don't have gmp available. I could try to cross build gmp too, to try to reproduce the problem, but probably not soon. If you wan't to track it down, it might be a good idea to first upgrade to gmp-6.
When you configure nettle with --disable-public-key, do both 32-bit and 64-bit windows builds work?
Regards, /Niels