Skip to content

Warning during compiler build: Compiler version doesn't include clang or GCC #122231

Open
@RalfJung

Description

@RalfJung
Member

Running ./x.py check compiler shows a warning:

warning: rustc_llvm@0.0.0: Compiler version doesn't include clang or GCC: "c++" "--version"

I think this must have started pretty recently.

FTR, c++ --version shows

$ c++ --version
c++ (Debian 13.2.0-13) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Activity

added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Mar 9, 2024
RalfJung

RalfJung commented on Mar 9, 2024

@RalfJung
MemberAuthor

This is probably rust-lang/cc-rs#958.

added
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
on Mar 9, 2024
removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Mar 9, 2024
workingjubilee

workingjubilee commented on Mar 14, 2024

@workingjubilee
Member

cc @NobodyXu What would be your recommendation?

workingjubilee

workingjubilee commented on Mar 14, 2024

@workingjubilee
Member

Oh, I see rust-lang/cc-rs#1000 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @RalfJung@jieyouxu@onur-ozkan@workingjubilee@rustbot

        Issue actions

          Warning during compiler build: Compiler version doesn't include clang or GCC · Issue #122231 · rust-lang/rust