A user reported this on gnupg-users:
just tried to cross-build 32 bit libgcrypt-1.9.0 on a 64 bit machine
----8<---- libtool: compile: gcc -m32 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I../mpi -I../mpi -I/usr/include -I/usr/Xorg/include -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -c rijndael-aesni.c -fPIC -DPIC -o .libs/rijndael-aesni.o rijndael-aesni.c: In function 'aesni_ocb_enc': rijndael-aesni.c:2815:7: error: 'asm' operand has impossible constraints 2815 | asm volatile ("pxor %[tmpbuf0],%%xmm1\n\t" | ^~~ make: *** [Makefile:1355: rijndael-aesni.lo] Error 1 make: Leaving directory '/home/balducci/tmp/install-us-d/libgcrypt-1.9.0.d/libgcrypt-1.9.0/cipher' ---->8----
No problem whatsoever building for native 64 bit.
I get the same error (always for the 32 bit cross build) on two
machines with different cpu's (both AMD, though)
32 bit build succeeds if I run with --disable-asm, but since it has worked
flawlessly for ages (without --disable-asm), I'm just wondering if asm is
not supported any longer for this cross build, or if 1.9.0 needs some
fix (or if I am missing something obvious, of course)
I haven't changed anything in my installation script (since 1.4.6).