Skip to content

1.54.0 new test assembly/asm/bpf-types.rs fails on all architectures on Debian rustc build #89689

Closed
@infinity0

Description

@infinity0

The error is pretty straightforward

stderr:
------------------------------------------
warning: unused macro definition
  --> /<<PKGBUILDDIR>>/src/test/assembly/asm/bpf-types.rs:20:1
   |
20 | / macro_rules! stringify {
21 | |     () => {};
22 | | }
   | |_^
   |
   = note: `#[warn(unused_macros)]` on by default

error: couldn't allocate output register for constraint 'w'
  --> /<<PKGBUILDDIR>>/src/test/assembly/asm/bpf-types.rs:42:19
   |
42 |             asm!("{} = {}", out($class) y, in($class) x);
   |                   ^

error: aborting due to previous error; 1 warning emitted

We don't use rust's LLVM but a more vanilla LLVM in the Debian rust build, could that be the issue?

CC @alessandrod as the author of the test.

I will just disable the test for now in Debian.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions