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

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

https://gcc.gnu.org/g:06e5b0b4a244090abfea333d91fc5963292cb41d

commit r15-7444-g06e5b0b4a244090abfea333d91fc5963292cb41d
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