Skip to content

tests/run-make/print-target-list --print=sysroot check fails for experimental llvm targets #127895

Closed
@jieyouxu

Description

@jieyouxu

In #127877 @Rejyr noticed tests/run-make/print-target-list was failing for csky-unknown-linux-gnuabiv2 (and other experimental llvm components) on the x86_64-gnu-llvm-17 CI builder with

# snip
error: could not create LLVM TargetMachine for triple: csky-unknown-linux-gnuabiv2: No available targets are compatible with triple "csky-unknown-linux-gnuabiv2"
# snip

#125702 (specifically #125702 (comment)) it was already noticed that tests/run-make/print-target-list seemed to fail for csky-unknown-linux-gnuabiv2.

Is this expected? Or what is the expected test behavior when

rustc --target csky-unknown-linux-gnuabiv2 --print sysroot

is ran (on the x86_64-gnu-llvm-17 CI builder)?

Or is it expected that we should skip trying to run this check for the csky-unknown-linux-gnuabiv2 and other experimental llvm component targets?


Update: this is also true for experimental llvm components avr, m68k, csky and xtensa, not too sure what the correct behavior is. Currently these targets are skipped by print-target-list's --print=sysroot check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-run-makeArea: port run-make Makefiles to rmake.rsA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.O-AVRTarget: AVR processors (ATtiny, ATmega, etc.)O-cskyTarget: glaCSKY above covers over me~O-motorola68kTarget: Rust from the parallel universe where the Amiga won.O-xtensaT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions