https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486
--- Comment #28 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- OK, I know what's wrong in the libstdc++.dll of GCC 11, now let's try to figure out why this is so... Can you run 'nm' on one of the occurrences of crtend.o in the build tree (there are two copies of it)? On my machine it yields: 00000000 b .bss 00000000 d .ctors.65535 00000000 d .data 00000000 d .eh_frame 00000000 r .rdata$zzz 00000000 t .text 00000000 t .text.startup 00000000 d ___FRAME_END__ U ___gcc_register_frame 00000000 t _register_frame_ctor