> The build of 32-bit openSSL (openssl-0.9.8k) fails on x64 systems with
> the following error (and more similar errors like these):
>  
> x86cpuid-elf.s:13: Error: suffix or operands invalid for `push'
>  
> This problem can be fixed by adding -m32 to Configure for the linux-elf
> configuration, see the diff:
>  
> diff Configure Configure.org
> 332c332
> < "linux-elf",  "gcc:-m32 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer
> -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des}
> ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
> ---
>> "linux-elf",  "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer
> -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des}
> ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",

The suggested patch is not appropriate and won't be applied, because not
all gcc versions recognize -m32 as valid option. If you want to build
32-bit binaries on 64-bit system use './Configure linux-elf -m32'. A.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to