-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux环境下,编译异常 #5
Comments
暂时还不清楚是什么原因,Linux环境下在config/Configure配置中选择no-asm可以暂时避免这个问题,请下载最新的GmSSL代码,通过 |
您好,非常感谢您,如此快的回复。 |
该问题已解决: |
编译出现以下错误:
OOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o ecp_nistz256-x86_64.o ecp_nistz256-x86_64.s
ecp_nistz256-x86_64.s: Assembler messages:
ecp_nistz256-x86_64.s:823: Error: no such instruction:
mulxq %r9,%r8,%r9' ecp_nistz256-x86_64.s:824: Error: no such instruction:
mulxq %r10,%rcx,%r10'ecp_nistz256-x86_64.s:827: Error: no such instruction:
mulxq %r11,%rbp,%r11' ecp_nistz256-x86_64.s:830: Error: no such instruction:
mulxq %r12,%rcx,%r12'ecp_nistz256-x86_64.s:833: Error: no such instruction:
shlxq %r14,%r8,%rbp' ecp_nistz256-x86_64.s:835: Error: no such instruction:
shrxq %r14,%r8,%rcx'ecp_nistz256-x86_64.s:843: Error: no such instruction:
mulxq %r15,%rcx,%rbp' ecp_nistz256-x86_64.s:852: Error: no such instruction:
mulxq 0+128(%rsi),%rcx,%rbp'ecp_nistz256-x86_64.s:853: Error: no such instruction: `adcxq %rcx,%r9'
ecp_nistz256-x86_64.s:854: Error: no such instruction: `adoxq %rbp,%r10'
ecp_nistz256-x86_64.s:1451: Error: suffix or operands invalid for
vpand' ecp_nistz256-x86_64.s:1453: Error: suffix or operands invalid for
vpxor'ecp_nistz256-x86_64.s:1454: Error: suffix or operands invalid for
vpxor' make[2]: *** [ecp_nistz256-x86_64.o] Error 1 make[2]: Leaving directory
/IDE/share/GmSSL-master/crypto/ec'make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/IDE/share/GmSSL-master/crypto'
make: *** [build_crypto] Error 1
环境:[root@ide_81 GmSSL-master]# cat /proc/version
Linux version 2.6.32-358.el6.x86_64 (root@CGSLv4-64) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Wed Nov 6 23:48:01 EST 2013
[root@ide_81 GmSSL-master]#
网上下的openssl编译正常。然而编译GMSSL 通过不了。
不知道问题出现在哪里?请问你用的是什么环境?谢谢
The text was updated successfully, but these errors were encountered: