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

clang-cl: warning: unknown argument ignored in clang-cl #27

Open
weilinfox opened this issue Dec 11, 2023 · 1 comment
Open

clang-cl: warning: unknown argument ignored in clang-cl #27

weilinfox opened this issue Dec 11, 2023 · 1 comment
Labels
area: mux Issues related to the `ruyi` toolchain mux
Milestone

Comments

@weilinfox
Copy link
Contributor

RUYI 包管理版本

20231207

问题描述

clang-cl 命令出现有未知参数警告

$ ruyi venv -t llvm-upstream --sysroot-from gnu-plct generic venv
$ . venv/bin/ruyi-activate
«Ruyi venv» $ clang-cl /help
clang-cl: warning: unknown argument ignored in clang-cl: '--gcc-install-dir=/home/hachi/.local/share/ruyi/binaries/x86_64/gnu-plct-0.20231118.0/lib/gcc/riscv64-plct-linux-gnu/13.1.0' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '-mabi=lp64d' [-Wunknown-argument]
clang-cl: warning: unknown argument ignored in clang-cl: '--sysroot' [-Wunknown-argument]
OVERVIEW: clang LLVM compiler

USAGE: clang-17 [options] file...
@xen0n
Copy link
Collaborator

xen0n commented Dec 12, 2023

clang 别名是用来兼容 Windows MSVC 编译器的,而目前 Windows 没有 RISC-V 支持,因此预计的用户使用场景不会涉及该命令。

我们可以在创建 venv 时跳过这个别名,准备丢到 0.3 milestone 实现。我的判断是在 0.2 版本不修复此问题,不会影响到正常功能,用户也不会感知到。

@xen0n xen0n added this to the 0.3 milestone Dec 13, 2023
@xen0n xen0n removed this from the 0.3 milestone Jan 3, 2024
@xen0n xen0n added the area: mux Issues related to the `ruyi` toolchain mux label Jan 16, 2024
@xen0n xen0n added this to the Backlog milestone Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mux Issues related to the `ruyi` toolchain mux
Projects
None yet
Development

No branches or pull requests

2 participants