]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)
authorIain Sandoe <iains@gcc.gnu.org>
Fri, 18 Nov 2011 11:45:44 +0000 (11:45 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 18 Nov 2011 11:45:44 +0000 (11:45 +0000)
toplevel:

PR target/49992
* configure.ac: Remove ranlib special-casing for Darwin.
* configure: Regenerate.
gcc:

PR target/49992
* configure.ac: Remove ranlib special-casing for Darwin.
* configure: Regenerate.

From-SVN: r181471

ChangeLog
configure
configure.ac
gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 922e8140b2a6e6594e6e5a415c46891222831d12..23a41910f52bc5556fd6156620f6acc0f4b959c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-18  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR target/49992
+       * configure.ac: Remove ranlib special-casing for Darwin.
+       * configure: Regenerate.
+
 2011-10-26  Release Manager
 
        * GCC 4.6.2 released.
index b3cc9ad1029a0b5bf21c7cacc86cf6e9e911e270..f41f6d9fbbbc092d4f0c77c73be9174078fdf937 100755 (executable)
--- a/configure
+++ b/configure
@@ -6944,10 +6944,6 @@ case "${target}" in
     extra_arflags_for_target=" -X32_64"
     extra_nmflags_for_target=" -B -X32_64"
     ;;
-  *-*-darwin[3-9]*)
-    # ranlib before Darwin10 requires the -c flag to look at common symbols.
-    extra_ranlibflags_for_target=" -c"
-    ;;
   mips*-*-pe | sh*-*-pe | *arm-wince-pe)
     target_makefile_frag="config/mt-wince"
     ;;
index c6615bdd047a5885e3fa3e504c3859f88ad92161..ba6d84da43b98b8b193b5b69a7a2f981522b8234 100644 (file)
@@ -2428,10 +2428,6 @@ case "${target}" in
     extra_arflags_for_target=" -X32_64"
     extra_nmflags_for_target=" -B -X32_64"
     ;;
-  *-*-darwin[[3-9]]*)
-    # ranlib before Darwin10 requires the -c flag to look at common symbols.
-    extra_ranlibflags_for_target=" -c"
-    ;;
   mips*-*-pe | sh*-*-pe | *arm-wince-pe)
     target_makefile_frag="config/mt-wince"
     ;;
index 49cc0d2e62223748215b833a688c464a3e97a7c2..33a3e9098503ca37e26a78a2f6f19d47b2035e8b 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-18  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR target/49992
+       * configure.ac: Remove ranlib special-casing for Darwin.
+       * configure: Regenerate.
+
 2011-11-16  Richard Earnshaw  <rearnsha@arm.com>
            Bernd Schmidt <bernds@coudesourcery.com>
            Sebastian Huber <sebastian.huber@embedded-brains.de>
index 63b5e8b19a9e8c7be4ad410968d66e89984b3d2e..acb46b9f40bdfbb5ba692dfd60fce85eb760a9a0 100755 (executable)
@@ -7442,17 +7442,7 @@ else
   RANLIB="$ac_cv_prog_RANLIB"
 fi
 
-case "${host}" in
-*-*-darwin*)
-  # By default, the Darwin ranlib will not treat common symbols as
-  # definitions when  building the archive table of contents.  Other
-  # ranlibs do that; pass an option to the Darwin ranlib that makes
-  # it behave similarly.
-  ranlib_flags="-c"
-  ;;
-*)
-  ranlib_flags=""
-esac
+ranlib_flags=""
 
 
 # Find a good install program.  We prefer a C program (faster),
@@ -17505,7 +17495,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 17508 "configure"
+#line 17498 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -17611,7 +17601,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 17614 "configure"
+#line 17604 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
index 258ea6b9671f35677db2271a7d4314b3137e3254..505a54da6e0e9e075b47aecc622552a1bb694b09 100644 (file)
@@ -807,17 +807,7 @@ esac
 gcc_AC_PROG_LN_S
 ACX_PROG_LN($LN_S)
 AC_PROG_RANLIB
-case "${host}" in
-*-*-darwin*)
-  # By default, the Darwin ranlib will not treat common symbols as
-  # definitions when  building the archive table of contents.  Other 
-  # ranlibs do that; pass an option to the Darwin ranlib that makes
-  # it behave similarly.
-  ranlib_flags="-c" 
-  ;;
-*)
-  ranlib_flags=""
-esac
+ranlib_flags=""
 AC_SUBST(ranlib_flags)
      
 gcc_AC_PROG_INSTALL