[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>
Wed, 19 Jun 2024 05:51:49 +0000 (07:51 +0200)
commit9f915dff6ff3f5f6bc11efa480171eb3d8ff20ce
tree2997636b906979ce22df54863d2eff1b36fec5fd
parent71aeb5e89e70b7420848da989a6d6d6306438fc8
[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