[quake3-bugzilla] [Bug 6429] vm_x86.c inline assembly error on hosts using -fPIC

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Wed Jun 15 13:33:50 EDT 2016


https://bugzilla.icculus.org/show_bug.cgi?id=6429

--- Comment #5 from Mark <mark at noffle.net> ---
With GCC 6.1.0:

code/qcommon/vm_x86.c:1794: Error: bad register name `%opStackOfs'
Makefile:2601: recipe for target 'build/release-linux-x86/ded/vm_x86.o' failed

clang-3.9:
code/qcommon/vm_x86.c:1795:4: error: invalid register name
                "mov %%ebx, %%opStackOfs\n"
                 ^
<inline asm>:4:11: note: instantiated into assembly here
mov %ebx, %opStackOfs


Admittedly, I'm not entirely sure how clang handles inline assembly but I'd
figure I'd post it here for completeness.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3-bugzilla/attachments/20160615/cef9cfc2/attachment.html>


More information about the quake3-bugzilla mailing list