From: Ralf Wildenhues Date: Thu, 2 Sep 2010 19:06:43 +0000 (+0200) Subject: Merge branch 'master' into lto X-Git-Tag: v2.4~40^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=327f014068d2f709f0e38282d6b36725573a45c7;p=thirdparty%2Flibtool.git Merge branch 'master' into lto --- 327f014068d2f709f0e38282d6b36725573a45c7 diff --cc ChangeLog index 4878aeea4,c895655bd..3819e0bf5 --- a/ChangeLog +++ b/ChangeLog @@@ -1,33 -1,139 +1,167 @@@ + 2010-09-02 Ralf Wildenhues + + tests: avoid spurious test failure due to library mode on HP-UX. + * tests/help.at (debug tracing): Use $lt_INSTALL not cp for + install mode, the latter will not overwrite an existing library + with mode 555. + + 2010-09-01 Ralf Wildenhues + + tests: avoid spurious pic_flag test failure on HP-UX 10.20. + * tests/pic_flag.at (override pic_flag at configure time): + Match HP-UX 10.20 cc warning about unknown options, to skip + the test. + + tests: fix localization test for GCC on HP-UX 11.00. + * tests/localization.at (localized compiler messages): Be sure + to switch the locale only for the actual compiler commands, so + we don't pick up warnings from helper tools such as diff which + may not have the locale installed. + + Avoid leaking make flags into testsuite results. + * tests/defs.m4sh: Unset MFLAGS, MAKEFLAGS, MAKELEVEL, __MKLVL__ + and MAKE_JOBS_FIFO. + * tests/testsuite.at: Likewise. + Fixes warnings in test logs when the user uses 'make -jN check' + and inner $MAKE invocations can't connect to the job server. + Fixes spurious failures of configure-iface.at and of + demo-noinst-link tests with BSD and Tru64 make if the user uses + 'make -k', as the exit status of the latter is not reliable. + + 2010-09-01 Gary V. Vaughan + + Remove announce-gen.m4sh and mailnotify.m4sh. + * libltdl/config/announce-gen.m4sh: Removed. This script has + no apparent connection to libtool functionality, and mostly + duplicates the better maintained gnulib announce-gen script. + * libltdl/config/mailnotify.sh: Removed. This script was used + by only clcommit.m4sh and announce-gen.m4sh, both of which are + now removed too. + * Makefile.maint (announce-gen, libltdl/config/mailnotify): + Targets removed. + * bootstrap: Remove the mailnotify regeneration warning. + * HACKING (Release Procedure): Remove references to + announce-gen. + (Alpha release note template, Full release note template): + Reinstated from before announce-gen was introduced. + + Remove clcommit.m4sh. + * clcommit.m4sh: Removed. This script was written to help keep + ChangeLog and commit messages in sync when committing to CVS, + and is an anachronism now that Libtool uses git. + * Makefile.maint (commit): Target removed. + * bootstrap: Don't generate commit. + * HACKING (Release Procedure): Adjusted. + + 2010-08-31 Peter Rosin + + archive-in-archive.at passes with Microsoft lib. + * tests/archive-in-archive.at: Tighten test to check that the desired + object files are indeed part of the archive. Microsoft lib still + passes, so remove the expected failure for that case. + + Dump archiver output to the log when testing @file support. + * libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout to config.log + when testing for @file support. + Suggested by Ralf Wildenhues. + + Silence archiver output when testing @file support. + * libltdl/m4/libtool.m4 (_LT_PROG_AR): Redirect stdout and stderr + to the bit bucket when testing for @file support. + + 2010-08-31 Gary V. Vaughan + + Remove double `Generated from foo.m4sh' lines. + We now require a modern Autoconf to bootstrap libtool, which + will add the `Generated by ...' boiler-plate automatically, + so we can remove the hand-rolled @configure_input@ + substitutions we had been doing: + * clcommit.m4sh, libtoolize.m4sh, tests/defs.sh, + libltdl/config/announce-gen.m4sh, libltdl/config/ltmain.m4sh, + libltdl/config/mailnotify.m4sh: Remove @configure_input@. + * Makefile.am (edit): Remove configure_input substitution. + (libtoolize, libltdl/config/ltmain.sh, libltdl/m4/ltversion.m4) + (tests/defs): Don't set `$input' shell variable. + * Makefile.maint (announce_gen, libltdl/config/mailnotify) + (commit): Likewise. + + 2010-08-31 Peter Rosin + + Extract the archive name from the .la file and use $AR (not ar). + * Makefile.am: Pass AR through to the testsuite. + * tests/archive-in-archive.at: Bump copyright year. Extract archive + name from the .la file instead of hardcoding the name, and allow + different archivers. Also clarify that the tested functionality is + currently broken. + + 2010-08-30 Ralf Wildenhues + + tests: skip -Wall -Werror with Tru64 cc in cwrapper test. + * tests/cwrapper.at (cwrapper for uninstalled executables): + Use a link test rather than a compile test to flesh out unknown + compiler flags starting with -W; Tru64/OSF1 cc will happily + accept `-Wall -Werror' as indication to pass flags on to + subprocesses. + + tests: avoid getopt-m4sh failures when autom4te is not available. + * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): + Check $M4SH --version, skip on failure. + + tests: mark 'syntax of .la files' as XFAIL, expose failure. + * tests/lalib-syntax.at (syntax of .la files): Assert that the + string returned by lt_dlerror after a failure is non-NULL, so + the failure shows up on systems other than Solaris. Mark test + as expected to fail. + Suggested by Bob Friesenhahn. + + 2010-08-30 Eric Blake + + Simplify recent configure quoting portability workaround. + * configure.ac: Simplify setting of timestamp_string. + + 2010-08-30 Charles Wilson + + Update path conversion warning messages + * libltdl/config/ltmain.m4sh (func_convert_file_check): Update + comments and warning message. + (func_convert_path_check): Update warning message. + + 2010-08-29 Peter Rosin + + Fix typo when renaming path conversion functions. + * tests/testsuite.at: Ensure to_host_file_cmd is passed as a + variable setting on the configure line for (new testsuite) tests. + 2010-08-29 Ralf Wildenhues + Support GCC LTO on GNU/Linux. + * libltdl/config/ltmain.m4sh (func_mode_link): Allow through + flags matching -O*, -flto*, -fwhopr, -fuse-linker-plugin. + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Drop symbols + starting with __gnu_lto. + (_LT_LINKER_SHLIBS) [linux] : + Add $pic_flag for GCC. + (_LT_LANG_CXX_CONFIG) [linux] : + Likewise. + (_LT_SYS_HIDDEN_LIBDEPS): Ignore files matching *.lto.o. + * NEWS: Update. + + Disable GCC LTO for verbose library extraction. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Temporarily + append -fno-lto or -fno-whopr to CFLAGS if CC or CFLAGS (which + are substituted with the per-language variables here) contain + -flto or match -fwhopr*, respectively. + + Save and restore CFLAGS properly inside libtool.m4 macros. + * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Use different + temporary variables for saved and restored values of $LIBS, + $CFLAGS, to avoid overlap with the *_CONFIG macros. + (_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG) + (_LT_LANG_GCJ_CONFIG, _LT_LANG_RC_CONFIG): Also save and restore + $CFLAGS, and override it with per-language flags, so that in + case output_verbose_link_cmd uses $CFLAGS, the right flags are + used. + Work around yet another shell quoting portability issue. * configure.ac: Avoid nonportable quoted alternate variable value in unquoted here document, so Solaris 10 sh and Tru64