https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90636
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- Romain, For commit "[libbacktrace] Add btest_lto", I added the noclone attribute next to each noinline attribute in btest.c. Perhaps this is needed as well in edtest.c and ttest.c. Can you try this and see if this fixes the problem you're seeing?