-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
On riscv64gc linux, split-debuginfo ="unpacked" caused error: A dwo section may not contain relocations #110224
Copy link
Copy link
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesA-target-specsArea: Compile-target specificationsArea: Compile-target specificationsC-bugCategory: This is a bug.Category: This is a bug.O-riscvTarget: RISC-V architectureTarget: RISC-V architectureT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesA-target-specsArea: Compile-target specificationsArea: Compile-target specificationsC-bugCategory: This is a bug.Category: This is a bug.O-riscvTarget: RISC-V architectureTarget: RISC-V architectureT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
On riscv64gc linux, split-debuginfo ="unpacked" caused error: A dwo section may not contain relocations.
-C split-debuginfo=unpackedflag to rustc.I think the behavior of rust < 1.64 is correct.
Steps
The following steps:
caused the following failure:
Compiling failure v0.1.0 (/root/failure) error: A dwo section may not contain relocations error: could not compile `failure` due to previous errorPossible Solution(s)
No response
Notes
Related: llvm/llvm-project#56642
Version