[gnutls-devel] GnuTLS | no such instruction: `xgetbv' when compiling for macOS (#914)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Jan 24 10:06:02 CET 2020
Pierre Ossman (Work account) created an issue: https://gitlab.com/gnutls/gnutls/issues/914
## Description of problem:
It seems the macOS assembler doesn't support that instruction as I get:
```
x86-common.c:154:no such instruction: `xgetbv'
x86-common.c:154:no such instruction: `xgetbv'
```
## Version of gnutls used:
3.6.10
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Custom build.
## How reproducible:
Steps to Reproduce:
* Build using gcc (also clang?) for macOS
## Actual results:
Build error above.
## Expected results:
Completed build.
## Additional info:
Others seem to have been hit by this and are working around it:
https://github.com/asmjit/asmjit/issues/78
https://chromium.googlesource.com/libyuv/libyuv/+/master/source/cpu_id.cc#123
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/914
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200124/d32c7eec/attachment-0001.html>
More information about the Gnutls-devel
mailing list