In message <cah8yc8kzkonnxgk2rojeeqwhem3rynuxqkm9gurv-hjzqi0...@mail.gmail.com> on Fri, 1 Apr 2016 17:59:13 -0400, Jeffrey Walton <noloa...@gmail.com> said:
noloader> Hi Everyone, noloader> noloader> I'm working from Master, and testing an i686 build on x86_64. Is noloader> building for i686 on x86_64 a supported configuration? noloader> noloader> If so, I'm not sure what to make of this. Does this require a noloader> full-blown cross-compile? (I feel like adding `-m32` is the wrong noloader> thing to do because the configuration script is supposed to take care noloader> of those details). noloader> noloader> Jeff noloader> noloader> # x86_64 host noloader> $ MACHINE=i686 ./config noloader> Operating system: i686-whatever-linux2 noloader> Configuring for linux-elf noloader> ... noloader> $ make noloader> ... noloader> noloader> gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS noloader> -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_PART_WORDS noloader> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m noloader> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM noloader> -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM noloader> -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\"" noloader> -DENGINESDIR="\"/usr/local/lib/engines\"" -Wall -O3 -pthread noloader> -DL_ENDIAN -fomit-frame-pointer -Wa,--noexecstack -fPIC -Iinclude -I. noloader> -Icrypto/include -MMD -MF crypto/aes/aesni-x86.d.tmp -MT noloader> crypto/aes/aesni-x86.o -c -o crypto/aes/aesni-x86.o noloader> crypto/aes/aesni-x86.s noloader> crypto/aes/aesni-x86.s: Assembler messages: noloader> crypto/aes/aesni-x86.s:364: Error: invalid instruction suffix for `push' noloader> crypto/aes/aesni-x86.s:365: Error: invalid instruction suffix for `push' noloader> crypto/aes/aesni-x86.s:366: Error: invalid instruction suffix for `push' noloader> ... Just for the sake of the experiment, how about trying this? $ MACHINE=i686 ./config -m32 It may be that we need to add -m32 to the linux-elf config... Cheers, Richard -- Richard Levitte levi...@openssl.org OpenSSL Project http://www.openssl.org/~levitte/ -- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev