Hello.

When trying to compile openssl-fips-1.2.3 with the default options (asm
enabled on x86_64), I get the following problem:

$ ./config --prefix=/usr fipscanisterbuild

...

$ make

...

make[2]: Entering directory `/usr/src/openssl-fips-1.2.3/crypto/md5'
gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3
-march=corei7 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM   -c -o md5_dgst.o
md5_dgst.c
gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3
-march=corei7 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM   -c -o md5_one.o
md5_one.c
/usr/bin/perl asm/md5-x86_64.pl md5-x86_64.s
gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3
-march=corei7 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -c  -o md5-x86_64.o
md5-x86_64.s
md5-x86_64.s: Assembler messages:
md5-x86_64.s:41: Error: 0xd76aa478 out range of signed 32bit
displacement
md5-x86_64.s:50: Error: 0xe8c7b756 out range of signed 32bit
displacement
md5-x86_64.s:68: Error: 0xc1bdceee out range of signed 32bit
displacement
md5-x86_64.s:77: Error: 0xf57c0faf out range of signed 32bit
displacement
md5-x86_64.s:95: Error: 0xa8304613 out range of signed 32bit
displacement
md5-x86_64.s:104: Error: 0xfd469501 out range of signed 32bit
displacement
md5-x86_64.s:122: Error: 0x8b44f7af out range of signed 32bit
displacement
md5-x86_64.s:131: Error: 0xffff5bb1 out range of signed 32bit
displacement
md5-x86_64.s:140: Error: 0x895cd7be out range of signed 32bit
displacement
md5-x86_64.s:158: Error: 0xfd987193 out range of signed 32bit
displacement
md5-x86_64.s:167: Error: 0xa679438e out range of signed 32bit
displacement
md5-x86_64.s:187: Error: 0xf61e2562 out range of signed 32bit
displacement
md5-x86_64.s:196: Error: 0xc040b340 out range of signed 32bit
displacement
md5-x86_64.s:214: Error: 0xe9b6c7aa out range of signed 32bit
displacement
md5-x86_64.s:223: Error: 0xd62f105d out range of signed 32bit
displacement
md5-x86_64.s:241: Error: 0xd8a1e681 out range of signed 32bit
displacement
md5-x86_64.s:250: Error: 0xe7d3fbc8 out range of signed 32bit
displacement
md5-x86_64.s:268: Error: 0xc33707d6 out range of signed 32bit
displacement
md5-x86_64.s:277: Error: 0xf4d50d87 out range of signed 32bit
displacement
md5-x86_64.s:295: Error: 0xa9e3e905 out range of signed 32bit
displacement
md5-x86_64.s:304: Error: 0xfcefa3f8 out range of signed 32bit
displacement
md5-x86_64.s:322: Error: 0x8d2a4c8a out range of signed 32bit
displacement
md5-x86_64.s:332: Error: 0xfffa3942 out range of signed 32bit
displacement
md5-x86_64.s:340: Error: 0x8771f681 out range of signed 32bit
displacement
md5-x86_64.s:356: Error: 0xfde5380c out range of signed 32bit
displacement
md5-x86_64.s:364: Error: 0xa4beea44 out range of signed 32bit
displacement
md5-x86_64.s:380: Error: 0xf6bb4b60 out range of signed 32bit
displacement
md5-x86_64.s:388: Error: 0xbebfbc70 out range of signed 32bit
displacement
md5-x86_64.s:404: Error: 0xeaa127fa out range of signed 32bit
displacement
md5-x86_64.s:412: Error: 0xd4ef3085 out range of signed 32bit
displacement
md5-x86_64.s:428: Error: 0xd9d4d039 out range of signed 32bit
displacement
md5-x86_64.s:436: Error: 0xe6db99e5 out range of signed 32bit
displacement
md5-x86_64.s:452: Error: 0xc4ac5665 out range of signed 32bit
displacement
md5-x86_64.s:463: Error: 0xf4292244 out range of signed 32bit
displacement
md5-x86_64.s:481: Error: 0xab9423a7 out range of signed 32bit
displacement
md5-x86_64.s:490: Error: 0xfc93a039 out range of signed 32bit
displacement
md5-x86_64.s:508: Error: 0x8f0ccc92 out range of signed 32bit
displacement
md5-x86_64.s:517: Error: 0xffeff47d out range of signed 32bit
displacement
md5-x86_64.s:526: Error: 0x85845dd1 out range of signed 32bit
displacement
md5-x86_64.s:544: Error: 0xfe2ce6e0 out range of signed 32bit
displacement
md5-x86_64.s:553: Error: 0xa3014314 out range of signed 32bit
displacement
md5-x86_64.s:571: Error: 0xf7537e82 out range of signed 32bit
displacement
md5-x86_64.s:580: Error: 0xbd3af235 out range of signed 32bit
displacement
md5-x86_64.s:598: Error: 0xeb86d391 out range of signed 32bit
displacement
make[2]: *** [md5-x86_64.o] Error 1
make[2]: Leaving directory `/usr/src/openssl-fips-1.2.3/crypto/md5'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/openssl-fips-1.2.3/crypto'
make: *** [build_crypto] Error 1

$ gcc --version
gcc (GCC) 4.6.1
Copyright (C) 2011 Free Software Foundation, Inc.


$ as --version
GNU assembler (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.

-- 
This email and any attachments are intended only for the person to which
this email is addressed and may contain confidential and/or privileged
information.  If you received this email in error, please do not
disclose the contents to anyone, but notify the sender immediately and
delete this email (and any attachments) from your system.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to