Hi,

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)",

Attached some more information in the testlog (gzipped) file.


Regards,
Kees Dekker



Hi,
 
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)",
 
Attached some more information in the testlog (gzipped) file.
 

Regards,
Kees Dekker
 
 

Attachment: testlog.gz
Description: GNU Zip compressed data

Reply via email to