[openssl-dev] [openssl.org #4138] Detection of assembler version
Kurt Roeckx via RT
rt at openssl.org
Thu Nov 12 09:38:06 UTC 2015
Hi,
I just found out that building with at least with the French
locale the AVX code is missing. The problem is this code in
crypto/sha/asm/sha1-x86_64.pl:
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);
}
In English it returns:
GNU assembler version 2.25.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Debian) 2.25.1
But in French it returns:
Version de l'assembleur GNU 2.25.1 (x86_64-linux-gnu) utilisant la version BFD (GNU Binutils for Debian) 2.25.1
A quick grep at least shows 17 affected files.
The fix should be easy setting the locale to C when doing that
check.
Kurt
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
More information about the openssl-dev
mailing list