[Bug libdw/33974] elfutils-0.194 fails to link on GNU Hurd (libdwfl_stacktrace/dwflst_sample_frame.c:176:(.text+0xbb): undefined reference to `__libdwfl_set_initial_registers_thread')

sam at gentoo dot org sourceware-bugzilla@sourceware.org
Fri Mar 13 14:16:01 GMT 2026


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

--- Comment #1 from Sam James <sam at gentoo dot org> ---
As discussed on IRC, the question is really what the best fix is. Should we
build libdwfl_stacktrace at all on non-Linux?

(In reply to Sam James from comment #0)
> and indeed the only definition is at libdwfl/linux-pid-attach.c.

Right now, it can't build on any non-Linux because the reference is
unconditional in dwflst_sample_frame.c, yet it is only provided by a
Linux-specific file.

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


More information about the Elfutils-devel mailing list