]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commit
libtool: Update to version 2.4.7
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 9 Dec 2022 21:47:12 +0000 (22:47 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Thu, 26 Jan 2023 23:11:22 +0000 (23:11 +0000)
commit31c0c32779c65d53c455feb6b90aaa8853a343d4
treea1b1cfec40f45ef6ce350e84eccd0b201e91f951
parent949c109a6cbb85cce8a618dbea4b761b2b0acc8a
libtool: Update to version 2.4.7

- Update from version 2.4.6 (Feb 2015) to 2.4.7 (Mar 2022)
- Update of rootfile
- The shebang in the libtoolize script has changed from ! /bin/sh to ! /usr/bin/env sh
   because apparently the previous version presented challenges for containerised
   environments. For IPFire build it meant that using libtoolize in the build of libxcrypt
   failed because it could not deal with the changed shebang.
- Patch created to change the shebang for libtoolize.in back to the version in 2.4.6 and
   earlier.
- The change of libtoolize.in then caused the libtool build to try and rebuild the man
   page for it but this fails as help2man is required for this. There is no option in the
   configure to not build the docs so hence there is an associated patch with this one
   that build help2man but the rootfile is completely commented out as it is only
   required for the build
- Added --disable-static to the configure options
- Changelog
    Noteworthy changes in release 2.4.7 (2022-03-16) [stable]
New features:
  - Libtool script now supports (configure-time and runtime) ARFLAGS
    variable, which obsoletes AR_FLAGS.  This is due to naming conventions
    among other *FLAGS and to be consistent with Automake's ARFLAGS.
  - Gnulib testsuite is enabled and run during 'make check'.
  - Support the Windows version of the Intel C Compiler (icl) in
    libtool script.
  - Pass '-fsanitize=*' flags for GCC and LLVM, and '-specs=*' for GCC
    to linker.
  - Pass '-Xassembler=*' and '-Wa,*' flag to compilers and linkers.
  - The variable 'FILECMD' with default value of '/usr/bin/file' was used to
    replace existing hard coded references to '/usr/bin/file'.
  - Add MidnightBSD support.
Important incompatible changes:
  - Libtool changed ARFLAGS/AR_FLAGS default from 'cru' to 'cr'.
  - Do not pass '-pthread' to Solaris linker.
  - 'libtool' and 'libtoolize' scripts now use '#! /usr/bin/env sh' shebang.
    Previously '#! /bin/sh' was used, which presents challenges for
    containerized environments.
Bug fixes:
  - Fix significant slowdown of libtoolize for certain projects (regression
    introduced in 2.4.3 release) caused by infinite m4 macro recursion.
  - Mitigate the slowdown of libtool script (introduced in v2.4.3) caused by
    increased number of calls to '$SED $sed_quote_subst' (bug#20006).
  - Properly parse and export TLS symbols on AIX.
  - Various bug fixes surrounding use of 'sed'.
  - Darwin systems set proper "allow undefined" flag on OSX 11, and
    PowerPC 10.5.
  - Removed some deprecated tests related to 'Makefile.inc' files.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
config/rootfiles/common/libtool
lfs/libtool
src/patches/libtool-2.4.7-correct-libtoolize.in-shebang.patch [new file with mode: 0644]