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
This commit is contained in:
Iain Sandoe 2011-11-18 10:52:32 +00:00
parent fff6a306ae
commit 10eb188cac
6 changed files with 16 additions and 32 deletions

View 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-12 Andrey Belevantsev <abel@ispras.ru>
* MAINTAINERS (Reviewers): Keep the list sorted.

4
configure vendored
View File

@ -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

View File

@ -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

View 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-18 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/51118

16
gcc/configure vendored
View File

@ -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

View File

@ -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