https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127138
--- Comment #1 from Sunil Dora <sunil.dora1988 at gmail dot com> --- (v1 linked -lssp_nonshared on glibc too, as Jakub pointed out in https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615321.html).
