aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2011-11-18 10:52:32 +0000
committerIain Sandoe <iains@gcc.gnu.org>2011-11-18 10:52:32 +0000
commit10eb188cac2228f07ea4009cd4037c0eb320e894 (patch)
treea23323344671162357245863f5e3b78cd086da18
parentfff6a306aee2145d44a8c252df82ec4891344a0f (diff)
downloadgcc-10eb188cac2228f07ea4009cd4037c0eb320e894.zip
gcc-10eb188cac2228f07ea4009cd4037c0eb320e894.tar.gz
gcc-10eb188cac2228f07ea4009cd4037c0eb320e894.tar.bz2
re PR target/49992 (lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11)
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: r181469
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure16
-rw-r--r--gcc/configure.ac12
6 files changed, 16 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
index e18fea2..bae8f29 100644
--- 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-11-12 Andrey Belevantsev <abel@ispras.ru>
* MAINTAINERS (Reviewers): Keep the list sorted.
diff --git a/configure b/configure
index f5c76be..e68c402 100755
--- a/configure
+++ b/configure
@@ -6833,10 +6833,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"
- ;;
esac
alphaieee_frag=/dev/null
diff --git a/configure.ac b/configure.ac
index a5034b2..7e27de4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2291,10 +2291,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"
- ;;
esac
alphaieee_frag=/dev/null
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 157e9f4..a433ece 100644
--- a/gcc/ChangeLog
+++ b/gcc/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-11-18 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/51118
diff --git a/gcc/configure b/gcc/configure
index d865412..6bffb8f 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -7597,17 +7597,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),
@@ -18087,7 +18077,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 18090 "configure"
+#line 18080 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18193,7 +18183,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 18196 "configure"
+#line 18186 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/gcc/configure.ac b/gcc/configure.ac
index af5b748..12492ff 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -847,17 +847,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