libtool: Update to version 2.6.2

Message ID 20260724174412.3827472-17-adolf.belka@ipfire.org
State New
Headers
Series libtool: Update to version 2.6.2 |

Commit Message

Adolf Belka 24 Jul 2026, 5:44 p.m. UTC
- Update from version 2.5.4 to 2.6.2
- Update of rootfile
- Changelog
2.6.2 is the combination of changes from 2.6.1 (beta) and 2.6.0 (alpha)
2.6.1
New features:
  - Pass 'resource-dir=*' flag for Clang.
  - Recognise explicit shared library arguments when linking dependency
    libraries to a shared library, like exists when linking a program.
  - Support OpenMP with macOS clang by processing '-Xpreprocessor
    -fopenmp' as one token.
Bug fixes:
  - Store cygpath file path conversions correctly for MSYS2 and MSVC.
  - Fix syntax error in LT_PROG_OBJC and LT_PROG_OBJCXX.
  - Separate Objective C and C++ cache check for proper tagging support.
  - Fix in darwin to support values with spaces.
  - Limit the length of DLL name to 8.3 correctly to avoid corrupting a
    generated DLL on OS/2.
  - Remove unused variable on OS/2, which could cause issues with static
    library generation if defined.
  - Recognise more static linking options for Clang.
  - Fix emscripten CXX postdeps using non-PIC sysroot.
  - Avoid deprecated option '-o' with MSVC compilers and replace with '-Fe'.
  - Avoid overlinking of dependency libraries on ELF systems.
  - Ensure old libraries are not archived.
Changes in supported systems or compilers:
  - Add support for SlimCC compiler.
  - Add support for *-ironclad-gnu.
2.6.0
New features:
  - Add a new tool, libtool-next-version, to guide users through updating
    library versions.
  - Add tagging for Objective-C and Objective-C++, OBJC and OBJCXX.
  - Increase 5 digit limit on revision value for libraries to 19 digits,
    which is referencing Unix epoch time in nanoseconds.
  - Add configuration options to choose whether to use '-nostdlib' to let
    the compiler frontend decide what standard libraries to link when
    building C++ shared libraries and modules, --enable-cxx-stdlib and
    --disable-cxx-stdlib.
  - Allow statically linking GCC and Clang compiler support libraries
    into shared libraries.
  - Add linking clang_rt static archives compiler internal libraries by
    their absolute path.
  - Set 'mklink' as the symlinking tool for MSVC.
  - Pass '--target' architecture flag for Clang.
  - Support MSYS and MSYS2 file path conversions.
Bug fixes:
  - Fix wrongly deduplicated compiler dependencies on linux.
  - Fix NetBSD postdeps for shared libraries.
  - Fix statically linking dependencies into shared C++ libraries when
    utilizing clang builtins or g++ options like, -static-libstdc++, by
    using a new configuration option, --enable-cxx-stdlib.
  - Ensure *-linux-mlibc host matches to mlibc userland rather than
    matching to GNU/Linux and similar userlands.
  - Fix hang with cmd.exe in MSYS.
  - For MSVC, fix mishandling compiler flags, symlinking, cl.exe '.exp'
    extension collision, symbol names, and numerous testsuite bugs.
  - Fix undeclared reference to access on Windows in libltdl.
  - Fix flang -Wl flags on FreeBSD.
  - Fix reordering '--as-needed' flag.
  - Fix libltdl early failures for multi-arch.
Changes in supported systems or compilers:
  - Support additional Intel OneAPI compilers, 'icx', 'icpx', and 'ifx'.
  - Support ML64 (Microsoft Macro Assembler).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libtool | 4 +++-
 lfs/libtool                     | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/libtool b/config/rootfiles/common/libtool
index 0ab9b9fd0..2dd62a5bc 100644
--- a/config/rootfiles/common/libtool
+++ b/config/rootfiles/common/libtool
@@ -1,4 +1,5 @@ 
 #usr/bin/libtool
+#usr/bin/libtool-next-version
 #usr/bin/libtoolize
 #usr/include/libltdl
 #usr/include/libltdl/lt_dlloader.h
@@ -8,7 +9,7 @@ 
 #usr/lib/libltdl.la
 #usr/lib/libltdl.so
 usr/lib/libltdl.so.7
-usr/lib/libltdl.so.7.3.3
+usr/lib/libltdl.so.7.3.6
 #usr/share/aclocal/libtool.m4
 #usr/share/aclocal/ltargz.m4
 #usr/share/aclocal/ltdl.m4
@@ -65,5 +66,6 @@  usr/lib/libltdl.so.7.3.3
 #usr/share/libtool/ltdl.h
 #usr/share/libtool/ltdl.mk
 #usr/share/libtool/slist.c
+#usr/share/man/man1/libtool-next-version.1
 #usr/share/man/man1/libtool.1
 #usr/share/man/man1/libtoolize.1
diff --git a/lfs/libtool b/lfs/libtool
index be168a800..5c03c21e2 100644
--- a/lfs/libtool
+++ b/lfs/libtool
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.5.4
+VER        = 2.6.2
 
 THISAPP    = libtool-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -42,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 47de3c49a690d44d7ddd5e3b5e4090c91dc5fbb9c40fc4a3963e150fb7329326ee3e21b8c149974726171c4b0380028e0efc7a369c4f04357eea46f69852e1cc
+$(DL_FILE)_BLAKE2 = c9d806815748b8b2ad9fc01a4bc38fedc3feda76eb8ef36707477a94b82ac413ceb8c9f3ea376b568d7a9ffc31ff292905579341741029babaea082637ec5144
 
 install : $(TARGET)