diff options
author | Jakub Jelinek <jakub@redhat.com> | 2015-04-07 11:57:46 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2015-04-07 11:57:46 +0200 |
commit | e8a4ed3b9d834a000f0026b13cc412802aaaf368 (patch) | |
tree | e4c91613cd3d7b05ee0a406c6dbb3edcd7dd630f /gcc | |
parent | 16a296887567ff74e41c9935cbe8eb896e0f2ecf (diff) | |
download | gcc-e8a4ed3b9d834a000f0026b13cc412802aaaf368.zip gcc-e8a4ed3b9d834a000f0026b13cc412802aaaf368.tar.gz gcc-e8a4ed3b9d834a000f0026b13cc412802aaaf368.tar.bz2 |
re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.)
PR target/65351
config/
* picflag.m4: Append -mno-dynamic-no-pic for Darwin.
libiberty/
* configure: Regenerate.
libada/
* configure: Regenerate.
libgcc/
* configure: Regenerate.
gcc/
* configure: Regenerate.
Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
From-SVN: r221891
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rwxr-xr-x | gcc/configure | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c060283..7f3d4a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-04-07 Jakub Jelinek <jakub@redhat.com> + Iain Sandoe <iain@codesourcery.com> + + PR target/65351 + * configure: Regenerate. + 2015-04-06 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/65614 diff --git a/gcc/configure b/gcc/configure index 20dbce6..ed94828 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4788,7 +4788,9 @@ case "${target}" in *-*-darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files - PICFLAG_FOR_TARGET=-fno-common + # Cancel any earlier -mdynamic-no-pic, as that makes + # the code not suitable for shared libraries. + PICFLAG_FOR_TARGET='-fno-common -mno-dynamic-no-pic' ;; alpha*-dec-osf5*) # PIC is the default. @@ -18147,7 +18149,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18150 "configure" +#line 18152 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -18253,7 +18255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 18256 "configure" +#line 18258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |