https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120653
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reproduced. It is actually _Unwind_Find_FDE not finding context->ra from libgcc_s.so.1 in the bad ld.so case and finding it in the correct case.