https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Gerald Pfeifer <ger...@gcc.gnu.org>: https://gcc.gnu.org/g:796849274c155d6f3430d94500cfa3c11fb59a1d commit r14-11282-g796849274c155d6f3430d94500cfa3c11fb59a1d Author: Dimitry Andric <dimi...@andric.com> Date: Tue Jan 28 18:36:16 2025 +0100 libgcc: On FreeBSD use GCC's crt objects for static linking Add crtbeginT.o to extra_parts on FreeBSD. This ensures we use GCC's crt objects for static linking. Otherwise it could mix crtbeginT.o from the base system with libgcc's crtend.o, possibly leading to segfaults. libgcc: PR target/118685 * config.host (*-*-freebsd*): Add crtbeginT.o to extra_parts. Signed-off-by: Dimitry Andric <dimi...@andric.com>