[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1751494] Re: tcg-target.inc.c:3495:no such instruction: `xgetbv'
From: |
Thomas Huth |
Subject: |
[Bug 1751494] Re: tcg-target.inc.c:3495:no such instruction: `xgetbv' |
Date: |
Wed, 22 Jul 2020 04:44:23 -0000 |
This has been fixed here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=1019242af11400252
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1751494
Title:
tcg-target.inc.c:3495:no such instruction: `xgetbv'
Status in QEMU:
Fix Released
Bug description:
While building QEMU on Mac OS 10.6.8 I saw this error message:
tag-target.inc.c:3495:no such instruction: `xgetbv'
In the file tcg/i386/tcg-target.inc.c at line 3495 is where the issue is
located. This is the problem code:
asm ("xgetbv" : "=a" (xcrl), "=d" (xcrh) : "c" (0));
https://github.com/asmjit/asmjit/issues/78
According to the above link, another project also experienced this problem on
Mac OS X. The fix was to replace the name of the instruction with the encoded
form '.byte 0x0F, 0x01, 0xd0'.
Host info:
Mac OS 10.6.8
GCC 5.2.0
Additional information:
This may be a gcc issue. I have compiled QEMU on Mac OS 10.12 and didn't
experience any issues. The compiler used was Apple's clang.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1751494/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug 1751494] Re: tcg-target.inc.c:3495:no such instruction: `xgetbv',
Thomas Huth <=