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

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

https://gcc.gnu.org/g:7804e65ed78b5529635934ca06fbf68521aad32d

commit r12-9942-g7804e65ed78b5529635934ca06fbf68521aad32d
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