Skip to content

RISC-V JIT build break blocks godbolt workflow #132730

Closed

Description

@hez2010

RISC-V build is failing due to

FAILED: jit/CMakeFiles/clrjit_unix_riscv64_x64.dir/emitriscv64.cpp.o
/root/dotnet/runtime/src/coreclr/jit/emitriscv64.cpp:4775:41: error: format specifies type 'int'
    but the argument has type 'emitter::MajorOpcode' [-Werror,-Wformat]
 4775 |             printf("MajorOpcode: %d\n", GetMajorOpcode(code));
      |                                  ~~     ^~~~~~~~~~~~~~~~~~~~
      |                                         static_cast<int>(   )
1 error generated.

See compiler-explorer/dotnet-builder#31

The nightly build on godbolt has been blocked for more than a week due to this issue.

cc: @dotnet/jit-contrib

Activity

  1. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Aug 25, 2026
  2. dotnet-policy-service commented on Aug 25, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  3. linked a pull request that will close this issueFix RISC-V JIT opcode format mismatch #132741on Aug 25, 2026
  4. added a commit that references this issue on Aug 26, 2026
    fea92eb
  5. locked and limited conversation to collaborators on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-riscvRelated to the RISC-V architecturearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions