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

--- Comment #27 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Andrew Pinski
<pins...@gcc.gnu.org>:

https://gcc.gnu.org/g:929b0fffe4d3d836e07e5a398a8e176e65f8b2c2

commit r13-8728-g929b0fffe4d3d836e07e5a398a8e176e65f8b2c2
Author: Andrew Pinski <apin...@marvell.com>
Date:   Sat Jul 22 08:52:42 2023 -0700

    Fix PR 110066: crash with -pg -static on riscv

    The problem -fasynchronous-unwind-tables is on by default for riscv linux
    We need turn it off for crt*.o because it would make __EH_FRAME_BEGIN__
point
    to .eh_frame data from crtbeginT.o instead of the user-defined object
    during static linking.

    This turns it off.

    OK?

    libgcc/ChangeLog:

            * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
            (riscv*-*-freebsd*): Likewise.
            * config/riscv/t-crtstuff: New file.

    (cherry picked from commit bbc1a102735c72e3c5a4dede8ab382813d12b058)
  • [Bug target/110066] [13 Regress... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to