[openssl-users] Assembly code errors while building openssl-1.0.2f on Ubuntu 14.04

Datta Prabhu Maddikunta datta.pm at gmail.com
Wed Feb 24 01:06:26 UTC 2016


>
> Hi Team,
>
> I am trying to build 'openssl-1.0.2f' on my Ubuntu 14.04 and I end up
> seeing the "
> Error: no such instruction: `vpclmulqdq $0,%xmm6,%xmm14,%xmm0'" errors on
> my machine(Please see the complete error at the end of this mail.).
>
> The o/p of uname is as below:
>
> -----------
> $ uname -a
> Linux <my_host_name> 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10
> UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> -----------
> My GNU assembler version is as below:
>

================
$gcc -Wa,-v -c -o /dev/null -x assembler /dev/null
GNU assembler version 2.24 (x86_64-linux-gnu) using BFD version (GNU
Binutils for Ubuntu) 2.24
=================


> I can provide any further information required .
>
> Can anyone guess the reason why this error is being thrown on my machine?
>
> Any inputs would be appreciated .,
>
> Thanks.,
> Datta M
>
>
> =============================================
> ......
> /usr/bin/perl asm/ghash-x86_64.pl elf > ghash-x86_64.s
> <my_path_to_compiler>/bin/gcc -I.. -I../.. -I../modes -I../asn1 -I../evp
> -I../../include  -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -DSSL_ALLOW_ADH -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
> <my_path_to_cross_compiler>/bin/as: Execution
> of <my_path_to_cross_compiler>/bin/compat-as/as failed with error code 0
> ghash-x86_64.s: Assembler messages:
> `vpclmulqdq $17,%xmm2,%xmm0,%xmm1'
> ghash-x86_64.s:1282: Error: no such instruction: `vpclmulqdq
> $0,%xmm2,%xmm0,%xmm0'
> ghash-x86_64.s:1283: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm3,%xmm3'
> ghash-x86_64.s:1312: Error: no such instruction: `vpclmulqdq
> $17,%xmm2,%xmm0,%xmm1'
> ghash-x86_64.s:1313: Error: no such instruction: `vpclmulqdq
> $0,%xmm2,%xmm0,%xmm0'
> ghash-x86_64.s:1314: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm3,%xmm3'
> ghash-x86_64.s:1383: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1386: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1390: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1394: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm3'
> ghash-x86_64.s:1396: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm4'
> ghash-x86_64.s:1400: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm8,%xmm5'
> ghash-x86_64.s:1405: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1408: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1411: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1416: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm3'
> ghash-x86_64.s:1419: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm4'
> ghash-x86_64.s:1423: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm8,%xmm5'
> ghash-x86_64.s:1429: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1432: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1436: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1441: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm3'
> ghash-x86_64.s:1444: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm4'
> ghash-x86_64.s:1448: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm8,%xmm5'
> ghash-x86_64.s:1454: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1457: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1460: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1476: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm10'
> ghash-x86_64.s:1479: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm11'
> ghash-x86_64.s:1483: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm12'
> ghash-x86_64.s:1488: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1491: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1495: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1501: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm3'
> ghash-x86_64.s:1505: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm4'
> ghash-x86_64.s:1513: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm8,%xmm5'
> ghash-x86_64.s:1520: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1523: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1527: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1532: Error: no such instruction: `vpclmulqdq
> $16,(%r10),%xmm10,%xmm10'
> ghash-x86_64.s:1533: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm3'
> ghash-x86_64.s:1536: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm4'
> ghash-x86_64.s:1540: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm8,%xmm5'
> ghash-x86_64.s:1546: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1549: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1553: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1560: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm3'
> ghash-x86_64.s:1563: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm4'
> ghash-x86_64.s:1565: Error: no such instruction: `vpclmulqdq
> $16,(%r10),%xmm10,%xmm10'
> ghash-x86_64.s:1569: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm8,%xmm5'
> ghash-x86_64.s:1575: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm14,%xmm0'
> ghash-x86_64.s:1577: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm14,%xmm1'
> ghash-x86_64.s:1580: Error: no such instruction: `vpclmulqdq
> $16,%xmm7,%xmm9,%xmm2'
> ghash-x86_64.s:1606: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1610: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1614: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1621: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1625: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1629: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1636: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1640: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1644: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1651: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1655: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1659: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1666: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1670: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1674: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1681: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1685: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1689: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1700: Error: no such instruction: `vpclmulqdq
> $0,%xmm6,%xmm15,%xmm0'
> ghash-x86_64.s:1703: Error: no such instruction: `vpclmulqdq
> $17,%xmm6,%xmm15,%xmm1'
> ghash-x86_64.s:1705: Error: no such instruction: `vpclmulqdq
> $0,%xmm7,%xmm8,%xmm2'
> ghash-x86_64.s:1720: Error: no such instruction: `vpclmulqdq
> $16,%xmm12,%xmm10,%xmm9'
> ghash-x86_64.s:1724: Error: no such instruction: `vpclmulqdq
> $16,%xmm12,%xmm10,%xmm9'
> make[2]: *** [ghash-x86_64.o] Error 1
> make[2]: Leaving directory `/openssl/openssl-1.0.2e/crypto/modes'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory /openssl/openssl-1.0.2e/crypto'
> make: *** [build_crypto] Error 1
> scons: *** Error 2
> scons: *** [/openssl/.build] Error 2
> scons: building terminated because of errors.
>
> =============================================
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160223/28dc2fe5/attachment.html>


More information about the openssl-users mailing list