debugedit не поддерживает dwarf5[1], поэтому предлагаю отключить глобально генерацию dwarf5 в golang которая была там включена экспериментально[2]. Как сделано в Fedora[3]. [1] https://lists.altlinux.org/pipermail/sisyphus-cybertalk/2025-August/127206.html 37 NEW error logs - пакеты которые не упали просто генерят ошибочный -debuginfo, но в них не было _stripped_files_terminate_build. [2] Комментарий https://github.com/golang/go/commit/ca19f987ca74605ef977c7a8619a344504c72272 "This patch enables the DWARF version 5 experiment by default for most platforms that support DWARF. Note that MacOS is kept at version 4, due to problems with CGO builds; the "dsymutil" tool from older versions of Xcode (prior to V16) can't handle DWARF5. Similar we keep DWARF 4 for GOOS=aix, where XCOFF doesn't appear to support the new section subtypes in DWARF 5." [3] https://src.fedoraproject.org/rpms/golang/blob/rawhide/f/0001-Modify-go.env.patch +# NOTE(downstream): https://sourceware.org/bugzilla/show_bug.cgi?id=33204 +# The dwarf5 data emitted by default in Go 1.25+ is incompatible with debugedit +# and breaks debugdata collection. +GOEXPERIMENT=nodwarf5
(In reply to Vitaly Chikunov from comment #0) > [3] https://src.fedoraproject.org/rpms/golang/blob/rawhide/f/0001-Modify-go.env.patch > > +# NOTE(downstream): https://sourceware.org/bugzilla/show_bug.cgi?id=33204 > +# The dwarf5 data emitted by default in Go 1.25+ is incompatible with debugedit > +# and breaks debugdata collection. > +GOEXPERIMENT=nodwarf5 Interesting. I was more brutal in my hacks: https://git.altlinux.org/people/iv/packages/golang.git?p=golang.git;a=commitdiff;h=509515be546a9772c1c1316a9bd1a63efca6448b
golang-1.25.0-alt2 -> sisyphus: Tue Aug 19 2025 Alexey Shabalin <shaba@altlinux> 1.25.0-alt2 - Disabled dwarf5 debugdata collection (ALT#55626).
Спасибо.