This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

import newer Libtool?


Hello,

I now have patches to import current git Libtool macro and script files
into the GCC tree.  Since Libtool's interpretation of --with-sysroot
does not match GCC's, I disabled that with a followup patch as below.

The patch series has seen some testing, but honestly, it hasn't seen
as much as I have done for my last Libtool update in GCC, and I also
necessarily rely on some feedback from others, because I do not have
the time and resources to do all kinds of testing myself.

The fact that this arrives weeks after the intended deadline doesn't
help either, of course.  So I'd like to apologize for that.

Basically I'm asking for advice/opinions what to do with this.
Apply to a temporary branch and suggest people to test it?  Apply
to trunk, put on my flame suit and hope hell doesn't break loose?
Wait until after branching and backport from trunk to branch after
some testing period?  Ignore this for 4.6 and go for 4.7?

To put things into perspective: this does fix a number of bugs
reported over the last weeks and months, but AFAIK no P1 or P2
regressions.  It should allow to build GCC with LTO (but for
parallel linking to work Automake changes would still be needed).

Aside, if/when this is agreed on, I'd like to apply as three patches;
while it renders the intermediate two commits unstable under
--enable-maintainer-mode and maybe even broken, it does help patch
handling and analysis a lot for me.  (Same as last time basically.)

The patches do not update libgo, but that one should be fairly
straightforward to do.

Oh yes, src patches are still in the works.

Thank you,
Ralf

Update Libtool files from git upstream.

ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* libtool.m4: Sync from git Libtool.
	* ltoptions.m4: Likewise.
	* ltversion.m4: Likewise.
	* lt~obsolete.m4: Likewise.
	* ltmain.sh: Likewise.

[ diff attached ]

Disable _LT_WITH_SYSROOT in libtool.m4.

ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* libtool.m4 (_LT_WITH_SYSROOT): Replace with stub version.

diff --git a/libtool.m4 b/libtool.m4
index fd79dcf..f111c79 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -1213,33 +1213,8 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 # _LT_WITH_SYSROOT
 # ----------------
 AC_DEFUN([_LT_WITH_SYSROOT],
-[AC_MSG_CHECKING([for sysroot])
-AC_ARG_WITH([sysroot],
-[  --with-sysroot[=DIR] Search for dependent libraries within DIR
-                        (or the compiler's sysroot if not specified).],
-[], [with_sysroot=no])
-
-dnl lt_sysroot will always be passed unquoted.  We quote it here
-dnl in case the user passed a directory name.
+[ # Disabled for now.
 lt_sysroot=
-case ${with_sysroot} in #(
- yes)
-   if test "$GCC" = yes; then
-     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
-   fi
-   ;; #(
- /*)
-   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
-   ;; #(
- no|'')
-   ;; #(
- *)
-   AC_MSG_RESULT([${with_sysroot}])
-   AC_MSG_ERROR([The sysroot must be an absolute path.])
-   ;;
-esac
-
- AC_MSG_RESULT([${lt_sysroot:-no}])
 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
 [dependent libraries, and in which our libraries should be installed.])])
 



Regenerate files.

libffi/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.
	* include/Makefile.in: Likewise.
	* man/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.

libgomp/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.

boehm-gc/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.
	* include/Makefile.in: Likewise.

zlib/ChangeLog.gcj:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.

libssp/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.

libgfortran/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.

gcc/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* configure: Regenerate.

libobjc/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* configure: Regenerate.

libstdc++-v3/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.
	* include/Makefile.in: Likewise.
	* libsupc++/Makefile.in: Likewise.
	* po/Makefile.in: Likewise.
	* python/Makefile.in: Likewise.
	* src/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.

libquadmath/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.

lto-plugin/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* aclocal.m4: Likewise.
	* configure: Likewise.

fixincludes/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* configure: Regenerate.

libjava/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.
	* gcj/Makefile.in: Likewise.
	* include/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.

libjava/classpath/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.
	* doc/api/Makefile.in: Likewise.
	* examples/Makefile.in: Likewise.
	* external/Makefile.in: Likewise.
	* external/jsr166/Makefile.in: Likewise.
	* external/relaxngDatatype/Makefile.in: Likewise.
	* external/sax/Makefile.in: Likewise.
	* external/w3c_dom/Makefile.in: Likewise.
	* include/Makefile.in: Likewise.
	* lib/Makefile.in: Likewise.
	* native/Makefile.in: Likewise.
	* native/fdlibm/Makefile.in: Likewise.
	* native/jawt/Makefile.in: Likewise.
	* native/jni/Makefile.in: Likewise.
	* native/jni/classpath/Makefile.in: Likewise.
	* native/jni/gconf-peer/Makefile.in: Likewise.
	* native/jni/gstreamer-peer/Makefile.in: Likewise.
	* native/jni/gtk-peer/Makefile.in: Likewise.
	* native/jni/java-io/Makefile.in: Likewise.
	* native/jni/java-lang/Makefile.in: Likewise.
	* native/jni/java-math/Makefile.in: Likewise.
	* native/jni/java-net/Makefile.in: Likewise.
	* native/jni/java-nio/Makefile.in: Likewise.
	* native/jni/java-util/Makefile.in: Likewise.
	* native/jni/midi-alsa/Makefile.in: Likewise.
	* native/jni/midi-dssi/Makefile.in: Likewise.
	* native/jni/native-lib/Makefile.in: Likewise.
	* native/jni/qt-peer/Makefile.in: Likewise.
	* native/jni/xmlj/Makefile.in: Likewise.
	* native/plugin/Makefile.in: Likewise.
	* resource/Makefile.in: Likewise.
	* scripts/Makefile.in: Likewise.
	* tools/Makefile.in: Likewise.

libmudflap/ChangeLog:
2011-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* Makefile.in: Regenerate.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.

[ diff not shown due to size ]

Attachment: 0001-Update-Libtool-files-from-git-upstream.patch.bz2
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]