https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
--- Comment #41 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > with absolutle useless stacktrace: > > Core was generated by `ld.bfd'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x00000099a352bb48 in bfd_putb64 () > (gdb) bt > #0 0x00000099a352bb48 in bfd_putb64 () > #1 0x00000099a3544fb8 in bfd_elf64_swap_reloca_out () > #2 0x00000099a353e644 in ?? () > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > (gdb) > > anyway, it smells like original issue but with different symptop. Maybe, but it's the linker here, not the compiler directly. I presume that you have an old patched linker instead of a recent one?