[openssl-dev] Build failure on SLES11

John Foley foleyj at cisco.com
Thu Jun 11 13:47:20 UTC 2015


It could be the gcc version is too old.  Trying to recall, gcc needs to
be something like 4.4 or newer to support the Intel carry-less multiply
instruction.



On 06/11/2015 09:37 AM, Dimitrios Apostolou wrote:
> Hello list,
>
> I've been trying to build OpenSSL-1.0.2a on an outdated SLES11 system.
> It fails unless I configure with "no-asm". Here is the relevant output:
>
> gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC
> -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
> -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall
> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
> -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
> -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
> -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
> ghash-x86_64.s: Assembler messages:
> ghash-x86_64.s:1281: Error: no such instruction: `vpclmulqdq
> $17,%xmm2,%xmm0,%xmm1'
> ghash-x86_64.s:1282: Error: no such instruction: `vpclmulqdq
> $0,%xmm2,%xmm0,%xmm0'
> [ ... many identical errors omitted ]
>
>
> I believe a check inside ./crypto/modes/asm/ghash-x86_64.pl is
> failing. Here is relevant output that might be of help:
>
> $ uname -a
> Linux buildslave3-sles-11-x86_64 2.6.27.19-5-default #1 SMP 2009-02-28
> 04:40:21 +0100 x86_64 x86_64 x86_64 GNU/Linux
> $ gcc -Wa,-v -c -o /dev/null -x assembler /dev/null
> GNU assembler version 2.19 (x86_64-suse-linux) using BFD version (GNU
> Binutils; SUSE Linux Enterprise 11) 2.19
>
>
> Thanks in advance,
> Dimitris
>
> _______________________________________________
> openssl-dev mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
>



More information about the openssl-dev mailing list