[Bug debugedit/33204] golang 1.25 generates dwarf5 by default that is incompatible with debugedit

sam at gentoo dot org sourceware-bugzilla@sourceware.org
Tue Sep 9 04:06:25 GMT 2025


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

--- Comment #5 from Sam James <sam at gentoo dot org> ---
(In reply to Sam James from comment #4)
> Gentle ping. I've no idea how tricky it is to fix on the debugedit side.
> Should we workaround it by disabling dw5 in go for now?

Ah, the Go 1.25 release notes say:
"""
The compiler and linker in Go 1.25 now generate debug information using DWARF
version 5. The newer DWARF version reduces the space required for debugging
information in Go binaries, and reduces the time for linking, especially for
large Go binaries. DWARF 5 generation can be disabled by setting the
environment variable GOEXPERIMENT=nodwarf5 at build time (this fallback may be
removed in a future Go release).
"""

Will do that.

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


More information about the Debugedit mailing list