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

--- Comment #26 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:e173d85243b7732aa3ef29ebf7ecc6a54d21320c

commit r9-9449-ge173d85243b7732aa3ef29ebf7ecc6a54d21320c
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Apr 16 18:32:27 2021 +0200

    intl: Add --enable-host-shared support [PR100096]

    As mentioned in the PR, building gcc with jit enabled and
    --enable-host-shared doesn't work on NetBSD/i?86, as libgccjit.so.0
    has text relocations.
    The r0-125846-g459260ecf8b420b029601a664cdb21c185268ecb changes
    added --enable-host-shared support to various libraries, but didn't
    add it to intl/ subdirectory; on Linux it isn't really needed, because
    all: all-no
    all-no: #nothing
    but on other OSes intl/libintl.a is built.

    The following patch makes sure it is built with -fPIC when
    --enable-host-shared is used.

    2021-04-16  Jakub Jelinek  <ja...@redhat.com>

            PR jit/100096
            * configure.ac: Add --enable-host-shared support.
            * Makefile.in: Update copyright.  Add @PICFLAG@ to CFLAGS.
            * configure: Regenerated.

    (cherry picked from commit a11f31102706e33f66b60367d6863613ab3bd051)

Reply via email to