[Bug debugedit/33823] debugedit fails to detect sources if DWARF contains relative, not absolute paths (empty debugsourcefiles.list)

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Apr 21 11:47:09 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=33823

--- Comment #7 from Mark Wielaard <mark at klomp dot org> ---
(In reply to David Abdurachmanov from comment #6)
> Latest Rust build ( rust-1.95.0-1.fc44 ) failed too. Compared 1.94 vs 1.95 I
> see that there was "-fdebug-prefix-map=" used.
> 
> CFLAGS_riscv64gc_unknown_linux_gnu="-fdebug-prefix-map=/builddir/build/BUILD/
> rust-1.95.0-build/rustc-1.95.0-src=/rustc/
> 59807616e1fa2540724bfbac14d7976d7e4a3860" 
> 
> CXXFLAGS_riscv64gc_unknown_linux_gnu="-fdebug-prefix-map=/builddir/build/
> BUILD/rust-1.95.0-build/rustc-1.95.0-src=/rustc/
> 59807616e1fa2540724bfbac14d7976d7e4a3860"
> 
> [..]
> error: Empty %files file
> /builddir/build/BUILD/rust-1.95.0-build/rustc-1.95.0-src/debugsourcefiles.
> list
> RPM build errors:
>     Empty %files file
> /builddir/build/BUILD/rust-1.95.0-build/rustc-1.95.0-src/debugsourcefiles.
> list

yeah, don't do that. You are remapping file names to a "weird" (unexisting)
location. There is no way for debugedit to guess what you are meaning here.
Unless you explicitly tell debugedit about that new location it cannot find any
files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list