Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation warning from LLVM files on x.py check compiler #114935

Closed
RalfJung opened this issue Aug 17, 2023 · 2 comments
Closed

Compilation warning from LLVM files on x.py check compiler #114935

RalfJung opened this issue Aug 17, 2023 · 2 comments

Comments

@RalfJung
Copy link
Member

When working on the compiler, I get a warning each time I invoke x.py check compiler:

warning: In file included from llvm-wrapper/LLVMWrapper.h:18,
warning:                  from llvm-wrapper/PassWrapper.cpp:7:
warning: /home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/ci-llvm/include/llvm/Support/Host.h:16:5: warning: This header is deprecated, please use llvm/TargetParser/Host.h
warning:    16 |     "This header is deprecated, please use llvm/TargetParser/Host.h"
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from llvm-wrapper/PassWrapper.cpp:28:
warning: /home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/ci-llvm/include/llvm/Support/Host.h:16:5: warning: This header is deprecated, please use llvm/TargetParser/Host.h
warning:    16 |     "This header is deprecated, please use llvm/TargetParser/Host.h"
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from llvm-wrapper/LLVMWrapper.h:18,
warning:                  from llvm-wrapper/RustWrapper.cpp:1:
warning: /home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/ci-llvm/include/llvm/Support/Host.h:16:5: warning: This header is deprecated, please use llvm/TargetParser/Host.h
warning:    16 |     "This header is deprecated, please use llvm/TargetParser/Host.h"
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from llvm-wrapper/LLVMWrapper.h:18,
warning:                  from llvm-wrapper/ArchiveWrapper.cpp:1:
warning: /home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/ci-llvm/include/llvm/Support/Host.h:16:5: warning: This header is deprecated, please use llvm/TargetParser/Host.h
warning:    16 |     "This header is deprecated, please use llvm/TargetParser/Host.h"
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from llvm-wrapper/LLVMWrapper.h:18,
warning:                  from llvm-wrapper/CoverageMappingWrapper.cpp:1:
warning: /home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/ci-llvm/include/llvm/Support/Host.h:16:5: warning: This header is deprecated, please use llvm/TargetParser/Host.h
warning:    16 |     "This header is deprecated, please use llvm/TargetParser/Host.h"
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: In file included from llvm-wrapper/LLVMWrapper.h:18,
warning:                  from llvm-wrapper/Linker.cpp:3:
warning: /home/r/src/rust/rustc.2/build/x86_64-unknown-linux-gnu/ci-llvm/include/llvm/Support/Host.h:16:5: warning: This header is deprecated, please use llvm/TargetParser/Host.h
warning:    16 |     "This header is deprecated, please use llvm/TargetParser/Host.h"
warning:       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I assume this started with #114048. Cc @nikic

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 17, 2023
@nikic
Copy link
Contributor

nikic commented Aug 17, 2023

Wasn't this fixed by #114612?

@RalfJung
Copy link
Member Author

Ah d'oh, I should rebase over master before filing bugs... sorry.

@Nilstrieb Nilstrieb removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants