-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Errors compiling libc
using rust 1.73.0 on riscv64/ubuntu:focal
docker image - works with 1.72.1
#117101
Comments
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-high T-compiler |
This works correctly in the So the problem seems limited to |
This was caused by the update to LLVM 17: it adds additional attributes to the object file which indicate which ISA extensions are used. These are parsed by |
From information here https://patchwork.kernel.org/project/linux-riscv/patch/20230313-riscv-zicsr-zifencei-fiasco-v1-1-dd1b7840a551@kernel.org/
|
LLVM 17 can't talk with binutils 2.34 for RISC-V specifically. This updates binutils to 2.38. Upstream issue is rust-lang/rust#117101.
LLVM 17 can't talk with binutils 2.34 for RISC-V specifically. This updates binutils to 2.38. Upstream issue is rust-lang/rust#117101.
LLVM 17 can't talk with binutils 2.34 for RISC-V specifically. This updates binutils to 2.38. Upstream issue is rust-lang/rust#117101.
cc @kito-cheng @michaelmaitland @robin-randhawa-sifive Is this issue still an active concern? |
LLVM 17 can't talk with binutils 2.34 for RISC-V specifically. This updates binutils to 2.38. Upstream issue is rust-lang/rust#117101.
LLVM 17 can't talk with binutils 2.34 for RISC-V specifically. This updates binutils to 2.38. Upstream issue is rust-lang/rust#117101.
h/w device: Starfive VisionFive2 SoC board
docker image :
riscv64/ubuntu:focal
- (LTS Ubuntu 20)Docker version 20.10.21
The issue also appears using QEMU.
The issue also appears using
rust 1.75.0-nightly
The issue also appears compiling
libc 0.2.148
Note - the issue DOES NOT appear
riscv64/ubuntu:jammy
- (LTS Ubuntu 22)rust 1.72.1
Target =
stable-riscv64gc-unknown-linux-gnu
empty project with
libc
dependency:The text was updated successfully, but these errors were encountered: