Skip to content

fix: relax debug info comparison against bfd#1397

Merged
marxin merged 1 commit into
wild-linker:mainfrom
marxin:riscv-debug-info-relax
Dec 21, 2025
Merged

fix: relax debug info comparison against bfd#1397
marxin merged 1 commit into
wild-linker:mainfrom
marxin:riscv-debug-info-relax

Conversation

@marxin

@marxin marxin commented Dec 21, 2025

Copy link
Copy Markdown
Collaborator

Bfd can sometimes ignore completely a Compilation Unit and so it ends up with a smaller Dwarf for a source file. Seems other linkers (mold, lld) end up with the same result as Wild.

Fixes: #1341

Bfd can sometimes ignore completely a Compilation Unit and so it
ends up with a smaller Dwarf for a source file. Seems other linkers
(mold, lld) end up with the same result as Wild.

Fixes: wild-linker#1341
@marxin marxin merged commit c3c8a28 into wild-linker:main Dec 21, 2025
20 checks passed
@marxin marxin deleted the riscv-debug-info-relax branch December 21, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RISC-V debug_info.size_mismatch failure on Arch Linux

2 participants