[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1751494] Re: tag-target.inc.c:3495:no such instruction
From: |
John Arbuckle |
Subject: |
[Qemu-devel] [Bug 1751494] Re: tag-target.inc.c:3495:no such instruction: `xgetbv' |
Date: |
Wed, 28 Feb 2018 17:19:13 -0000 |
The exact commit that causes this problem is this:
commit 770c2fc7bb70804ae9869995fd02dadd6d7656ac
tcg/i386: Add vector operations
--
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:
tag-target.inc.c:3495:no such instruction: `xgetbv'
Status in QEMU:
New
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