https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Gerald Pfeifer
<ger...@gcc.gnu.org>:

https://gcc.gnu.org/g:4f3a1ef6a8f32e4583d4c67fc452db9aa7fccb68

commit r13-9379-g4f3a1ef6a8f32e4583d4c67fc452db9aa7fccb68
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>

Reply via email to