On Fri, Nov 21, 2025 at 10:00:31AM +0100, Richard Biener wrote:
> libgcc/
>       * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): When _dl_find_object
>       is not available declare it weak and perform a runtime check
>       on its presence.

I think it at least should be limited to glibc, this file is compiled
on lots of targets, so at least guard it on #if __GNU_LIBRARY__ == 6,
expecting that musl or Solaris or OpenBSD, if it ever defines that function,
will use exactly the same structure layout is too dangerous.
Otherwise, I'd like to hear from Florian what he thinks about this from
glibc POV.

        Jakub

Reply via email to