Skip to content

[E0668] Malformed inline assembly when building rustc #54918

Closed
@varkor

Description

@varkor

When running ./x.py build --stage 1, I now get the error:

error[E0668]: malformed inline assembly=======>                        ] 16/27: compiler_builtins                                                                                                           
  --> rustc/compiler_builtins_shim/../../libcompiler_builtins/src/probestack.rs:55:5
   |
55 | /     asm!("
56 | |         mov    %rax,%r11        // duplicate %rax as we're clobbering %r11
57 | |
58 | |         // Main loop, taken in one page increments. We're decrementing rsp by
...  |
92 | |         ret
93 | |     " ::: "memory" : "volatile");
   | |_________________________________^

error: aborting due to previous error

I'm on macOS 10.12.6. This error was added recently (#54568), but it suggests there's been a problem for longer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions