[llvm-bugs] [Bug 38535] Cannot combine -m32 with -masm=intel

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 16 17:50:05 PST 2021


Nico Weber <nicolasweber at gmx.de> changed:

           What    |Removed                     |Added
                 CC|                            |nicolasweber at gmx.de
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Nico Weber <nicolasweber at gmx.de> ---
This is working for me now, on Linux:

$ out/gn/bin/clang -m32 -masm=intel -S hello.c && out/gn/bin/clang -m32
-masm=intel -o hello hello.s && ./helloHello world!

(I can't try with apple clang since macOS no longer ships 32-bit system

So I guess this was either fixed in the last 3 years (there were a whole bunch
of fixes to the intel asm parser, e.g. https://reviews.llvm.org/D71436), or it
has become obsolete (maybe it was only a problem on 32-bit macOS, and running
32-bit binaries is no longer a thing as of macOS 10.15 -- released oct 2019).

I'll close this out, please shout if you still need this.

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/20211117/a8f27ed0/attachment.html>

More information about the llvm-bugs mailing list