[PATCH] riscv only supports split_debuginfo=off for now
authorkxxt <rsworktech@outlook.com>
Wed, 31 Jan 2024 01:02:18 +0000 (09:02 +0800)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 20 Jun 2024 11:40:40 +0000 (13:40 +0200)
commit3dc4512c4c3bf7f780eafefeb619edbe8f4833bc
tree2c6e160e46122b94273617fc6c0c7d2646e5e67e
parent827126630923f11601c29a579732e0b953601a04
[PATCH] riscv only supports split_debuginfo=off for now

Disable packed/unpacked options for riscv linux/android.
Other riscv targets already only have the off option.

The packed/unpacked options might be supported in the future.
See upstream issue for more details:
https://github.com/llvm/llvm-project/issues/56642

Bug: https://github.com/rust-lang/rust/issues/110224

Gbp-Pq: Topic upstream
Gbp-Pq: Name u-riscv-disable-unpacked-split-debuginfo.patch
compiler/rustc_target/src/spec/targets/riscv32gc_unknown_linux_gnu.rs
compiler/rustc_target/src/spec/targets/riscv32gc_unknown_linux_musl.rs
compiler/rustc_target/src/spec/targets/riscv64_linux_android.rs
compiler/rustc_target/src/spec/targets/riscv64gc_unknown_linux_gnu.rs
compiler/rustc_target/src/spec/targets/riscv64gc_unknown_linux_musl.rs