aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2011-02-12 12:02:24 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2011-02-12 12:02:24 +0000
commitf3d533d3b5d828abef210862e9644b8ddf96c75b (patch)
tree8bcfb9dcec7e48ff47e67ef09881b7425eafa407 /gcc
parent9d53403cd24de4e43af117c256dabda6a8035ee7 (diff)
downloadgcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.zip
gcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.tar.gz
gcc-f3d533d3b5d828abef210862e9644b8ddf96c75b.tar.bz2
re PR lto/47225 (cross-compile fails while configuring libgcc with "xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found")
ChangeLog: PR lto/47225 * Makefile.def (lto-plugin): Double dash for enable-shared. (configure-gcc): Depend on all-lto-plugin. * Makefile.in: Rebuilt. lto-plugin/ChangeLog: PR lto/47225 * Makefile.am (gcc_build_dir, in_gcc_libs): New. (liblto_plugin_la_LDFLAGS): Add -module. (copy_lto_plugin): Renamed to... ($(in_gcc_libs)): ... this. Add mkinstalldirs. Skip copying of static modules. * Makefile.in: Rebuild. gcc/ChangeLog: PR lto/47225 * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la in the current directory. * configure: Rebuilt. From-SVN: r170070
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.ac2
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9c87513..143264b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-12 Alexandre Oliva <aoliva@redhat.com>
+
+ PR lto/47225
+ * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la
+ in the current directory.
+ * configure: Rebuilt.
+
2011-02-12 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin.c (darwin_override_options): Add a hunk missed
diff --git a/gcc/configure b/gcc/configure
index f38bb65..340c815 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23125,7 +23125,7 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker plugin support" >&5
$as_echo_n "checking linker plugin support... " >&6; }
gcc_cv_lto_plugin=no
-if test -f ../lto-plugin/Makefile ; then
+if test -f liblto_plugin.la; then
if test $in_tree_ld = yes -a x"$ORIGINAL_PLUGIN_LD_FOR_TARGET=" = x"$gcc_cv_ld"; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_lto_plugin=yes
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 366a5ae..0c065e0 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3174,7 +3174,7 @@ fi
AC_MSG_CHECKING(linker plugin support)
gcc_cv_lto_plugin=no
-if test -f ../lto-plugin/Makefile ; then
+if test -f liblto_plugin.la; then
if test $in_tree_ld = yes -a x"$ORIGINAL_PLUGIN_LD_FOR_TARGET=" = x"$gcc_cv_ld"; then
if test x"$ld_is_gold" = xyes; then
gcc_cv_lto_plugin=yes