[llvm-bugs] [Bug 46879] New: Integrated assembler errors on ljmp %cs:*(realdest - entry16_debug) : error: unknown token in expression

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 28 15:36:52 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46879

            Bug ID: 46879
           Summary: Integrated assembler errors on ljmp %cs:*(realdest -
                    entry16_debug) : error: unknown token in expression
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: i at maskray.me
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

git clone
https://kernel.googlesource.com/pub/scm/utils/kernel/kexec/kexec-tools
cd kexec-tools
./bootstrap
./configure CC=clang
make -j10


Output:
...
purgatory/arch/i386/entry32-16-debug.S:28:2: error: unknown directive
 .arch i386
 ^
purgatory/arch/i386/entry32-16-debug.S:129:11: error: unknown token in
expression
 ljmp %cs:*(realdest - entry16_debug)
          ^
make: *** [Makefile:118: purgatory/arch/i386/entry32-16-debug.o] Error 1


The lack of `.arch` directive support is another problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200728/72106e32/attachment.html>


More information about the llvm-bugs mailing list