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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:13ad7b1603f31b65e181780a29ada3f9a331bf8f

commit r13-7982-g13ad7b1603f31b65e181780a29ada3f9a331bf8f
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Oct 24 16:56:30 2023 +0100

    libstdc++: Build libstdc++_libbacktrace.a as PIC [PR111936]

    In order for std::stacktrace to be used in a shared library, the
    libbacktrace symbols need to be built with -fPIC. Add the libtool
    -prefer-pic flag to the commands in src/libbacktrace/Makefile so that
    the archive contains PIC objects.

    libstdc++-v3/ChangeLog:

            PR libstdc++/111936
            * src/libbacktrace/Makefile.am: Add -prefer-pic to libtool
            compile commands.
            * src/libbacktrace/Makefile.in: Regenerate.

    (cherry picked from commit f32c1e1e96ffef6512ce025942b51f3967a3e7f2)

Reply via email to