-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[E0668] Malformed inline assembly when building rustc #54918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
And here:
|
OK on macOS 10.14 |
Hmm, I added that error code, and I find that pretty odd. Sadly, I am unable to reproduce this on Linux and I don’t have access to a macOS machine right now. The error code is emitted if we pass the inline assembly (with its constraints) to LLVM and for some reason it rejects it. (that is, the function Thanks! |
Okay, this is strange. rust/src/librustc_codegen_llvm/builder.rs Lines 757 to 758 in 5ea8eb5
constraints_ok is 769 here.
|
…rn-bool, r=rkruppe Fix LLVMRustInlineAsmVerify return type mismatch Fixes rust-lang#54918. r? @rkruppe cc @levex
When running
./x.py build --stage 1
, I now get the error:I'm on macOS 10.12.6. This error was added recently (#54568), but it suggests there's been a problem for longer.
The text was updated successfully, but these errors were encountered: