https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96217
--- Comment #4 from LE GARREC Vincent <legarrec.vincent at gmail dot com> --- I know that building the world with -O0 can be strange but it really helps me when a software crashes. Thanks, -lgcc_eh solves the problem. I will create a bugreport to glibc and hope they will fix it. Maybe you can change the status to Invalid ? I can only use RESOLVED.