[openssl-dev] Testing i686 build on x86_64

Jeffrey Walton noloader at gmail.com
Fri Apr 1 21:59:13 UTC 2016


Hi Everyone,

I'm working from Master, and testing an i686 build on x86_64. Is
building for i686 on x86_64 a supported configuration?

If so, I'm not sure what to make of this. Does this require a
full-blown cross-compile? (I feel like adding `-m32` is the wrong
thing to do because the configuration script is supposed to take care
of those details).

Jeff

    # x86_64 host
    $ MACHINE=i686 ./config
    Operating system: i686-whatever-linux2
    Configuring for linux-elf
    ...
    $ make
    ...

gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS
-DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_PART_WORDS
-DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
-DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM
-DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\""
-DENGINESDIR="\"/usr/local/lib/engines\"" -Wall -O3 -pthread
-DL_ENDIAN -fomit-frame-pointer  -Wa,--noexecstack -fPIC -Iinclude -I.
-Icrypto/include -MMD -MF crypto/aes/aesni-x86.d.tmp -MT
crypto/aes/aesni-x86.o -c -o crypto/aes/aesni-x86.o
crypto/aes/aesni-x86.s
crypto/aes/aesni-x86.s: Assembler messages:
crypto/aes/aesni-x86.s:364: Error: invalid instruction suffix for `push'
crypto/aes/aesni-x86.s:365: Error: invalid instruction suffix for `push'
crypto/aes/aesni-x86.s:366: Error: invalid instruction suffix for `push'
...


More information about the openssl-dev mailing list