[cfe-dev] Clang fails to compile the mix of intel/att assembly, and as a result BitcoinArmory — the major bitcoin client — also doesn't build

Reid Kleckner rnk at google.com
Mon Mar 30 11:56:34 PDT 2015


It boils down to supporting this in a .s file:
.intel_syntax noprefix;mov QWORD PTR [r11], rax;.att_syntax prefix

This already works:
.intel_syntax noprefix
mov QWORD PTR [r11], rax
.att_syntax prefix

The problem is that the directives are lexing the semicolon character when
it's supposed to be a statement separator.

It should be both easy to work around in the source and easy to fix in
LLVM. Given the easy source workaround, this doesn't feel very high
priority.

On Mon, Mar 30, 2015 at 11:47 AM, Yuri <yuri at rawbw.com> wrote:

> There is this bug report https://llvm.org/bugs/show_bug.cgi?id=18916 that
> is pending for over a year.
> This prevents BitcoinArmory compile, no workaround. Systems that chose
> clang as a major compiler (ex. FreeBSD) now can't build it at all.
>
> This should be prioritized. Any idea when this will be fixed?
>
> Yuri
>
> Ref: https://github.com/etotheipi/BitcoinArmory
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150330/6c4674d6/attachment.html>


More information about the cfe-dev mailing list