[openssl-dev] Build failure on SLES11

Dimitrios Apostolou jimis at gmx.net
Thu Jun 11 15:08:56 UTC 2015


On Thu, 11 Jun 2015, Andy Polyakov wrote:

> It's can as well be wrong. I mean it might have to be adjusted as
> $1>=2.20 instead of 2.19. While AVX support was added in binutils 2.19,
> they might have omitted specifically vpclmulqdq. Can you confirm if it
> works if you replace 2.19 with 2.20?


Indeed, I confirm that the following patch fixes the issue:


--- crypto/modes/asm/ghash-x86_64.pl.bak	2015-06-11 
17:04:21.000000000 +0200
+++ crypto/modes/asm/ghash-x86_64.pl	2015-06-11 17:04:28.000000000 
+0200
@@ -92,7 +92,7 @@

  if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1`
  		=~ /GNU assembler version ([2-9]\.[0-9]+)/) {
-	$avx = ($1>=2.19) + ($1>=2.22);
+	$avx = ($1>=2.20) + ($1>=2.22);
  }

  if (!$avx && $win64 && ($flavour =~ /nasm/ || $ENV{ASM} =~ /nasm/) &&



Dimitris



More information about the openssl-dev mailing list