From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Cc: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
Subject: [PATCH] libtool: upgrade 2.5.4 -> 2.6.2
Date: Tue, 4 Aug 2026 14:05:03 +0200 [thread overview]
Message-ID: <20260804120503.2878-1-jaipaul.cheernam@est.tech> (raw)
- Upgrade to first stable release of 2.6 series:
https://savannah.gnu.org/news/?id=10914
- Notable changes since 2.5.4:
- New libtool-next-version tool for guiding library version updates
- Objective-C and Objective-C++ tagging support (OBJC, OBJCXX)
- Allow statically linking clang_rt archives by absolute path
- Fix overlinking of dependency libraries on ELF systems
- Pass --target architecture flag and resource-dir for Clang
- SlimCC compiler support
- MSVC and MSYS2 improvements
- Drop 0005-libtool-Check-for-static-libs-for-internal-compiler-.patch
has been merged upstream.
- Refresh 0003-libtool-remove-help2man-dependency.patch for new line
offsets and to also remove the libtoolnextv_1 man page target added
in 2.6.2.
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
.../{libtool-2.5.4.inc => libtool-2.6.2.inc} | 3 +-
...-cross_2.5.4.bb => libtool-cross_2.6.2.bb} | 0
...ative_2.5.4.bb => libtool-native_2.6.2.bb} | 0
...3-libtool-remove-help2man-dependency.patch | 22 ++++++-----
...r-static-libs-for-internal-compiler-.patch | 39 -------------------
.../{libtool_2.5.4.bb => libtool_2.6.2.bb} | 0
...ol_2.5.4.bb => nativesdk-libtool_2.6.2.bb} | 0
7 files changed, 13 insertions(+), 51 deletions(-)
rename meta/recipes-devtools/libtool/{libtool-2.5.4.inc => libtool-2.6.2.inc} (88%)
rename meta/recipes-devtools/libtool/{libtool-cross_2.5.4.bb => libtool-cross_2.6.2.bb} (100%)
rename meta/recipes-devtools/libtool/{libtool-native_2.5.4.bb => libtool-native_2.6.2.bb} (100%)
delete mode 100644 meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch
rename meta/recipes-devtools/libtool/{libtool_2.5.4.bb => libtool_2.6.2.bb} (100%)
rename meta/recipes-devtools/libtool/{nativesdk-libtool_2.5.4.bb => nativesdk-libtool_2.6.2.bb} (100%)
diff --git a/meta/recipes-devtools/libtool/libtool-2.5.4.inc b/meta/recipes-devtools/libtool/libtool-2.6.2.inc
similarity index 88%
rename from meta/recipes-devtools/libtool/libtool-2.5.4.inc
rename to meta/recipes-devtools/libtool/libtool-2.6.2.inc
index c646ed33d6..b418490919 100644
--- a/meta/recipes-devtools/libtool/libtool-2.5.4.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.6.2.inc
@@ -13,12 +13,11 @@ SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
file://0002-ltmain.in-Don-t-encode-RATHS-which-match-default-lin.patch \
file://0003-libtool-remove-help2man-dependency.patch \
file://0004-libtool.m4-Change-libtool-to-handle-sysroots-by-defa.patch \
- file://0005-libtool-Check-for-static-libs-for-internal-compiler-.patch \
file://0006-libtool-Fix-tools-path-issues.patch \
file://0007-libtool-Fix-problem-with-libtoolize-in-multilib.patch \
"
-SRC_URI[sha256sum] = "da8ebb2ce4dcf46b90098daf962cffa68f4b4f62ea60f798d0ef12929ede6adf"
+SRC_URI[sha256sum] = "24adb3aa9ae035c70faba344af57d73215eb89281045af6c7ccd307751f8b0bf"
inherit autotools texinfo
EXTRA_AUTORECONF = "--exclude=libtoolize"
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.5.4.bb b/meta/recipes-devtools/libtool/libtool-cross_2.6.2.bb
similarity index 100%
rename from meta/recipes-devtools/libtool/libtool-cross_2.5.4.bb
rename to meta/recipes-devtools/libtool/libtool-cross_2.6.2.bb
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb b/meta/recipes-devtools/libtool/libtool-native_2.6.2.bb
similarity index 100%
rename from meta/recipes-devtools/libtool/libtool-native_2.5.4.bb
rename to meta/recipes-devtools/libtool/libtool-native_2.6.2.bb
diff --git a/meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch b/meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch
index b174827eef..3e592e2eba 100644
--- a/meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch
+++ b/meta/recipes-devtools/libtool/libtool/0003-libtool-remove-help2man-dependency.patch
@@ -1,25 +1,28 @@
-From e3e8422333239c47ad613e2f41ee04244556d3be Mon Sep 17 00:00:00 2001
+From 2e3de3787e5693e43af09f3b0ab325091f69450f Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
-Date: Mon, 7 Jan 2013 01:49:28 +0200
+Date: Tue, 4 Aug 2026 11:56:37 +0000
Subject: [PATCH 3/7] libtool: remove help2man dependency
+Also remove the libtoolnextv_1 man page target added in 2.6.2.
+
Upstream-Status: Inappropriate
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Updated by: Robert Yang <liezhi.yang@windriver.com>
+Updated by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
- Makefile.am | 17 -----------------
- 1 file changed, 17 deletions(-)
+ Makefile.am | 19 -------------------
+ 1 file changed, 19 deletions(-)
diff --git a/Makefile.am b/Makefile.am
-index 51c1fbdb..4962c3ad 100644
+index 52e0047..1e2f66b 100644
--- a/Makefile.am
+++ b/Makefile.am
-@@ -408,23 +408,6 @@ $(notes_txt): $(notes_texi)
+@@ -419,25 +419,6 @@ $(notes_txt): $(notes_texi)
$(AM_V_GEN)$(MAKEINFO) -P '$(srcdir)/doc' --no-headers \
$(MAKEINFOFLAGS) -o '$@' '$(notes_texi)'
--dist_man1_MANS = $(libtool_1) $(libtoolize_1)
+-dist_man1_MANS = $(libtool_1) $(libtoolize_1) $(libtoolnextv_1)
-MAINTAINERCLEANFILES += $(dist_man1_MANS)
-update_mans = \
- PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \
@@ -33,12 +36,11 @@ index 51c1fbdb..4962c3ad 100644
- $(AM_V_GEN)$(update_mans) -n 'Provide generalized library-building support services' --help-option=--help-all libtool
-$(libtoolize_1): $(libtoolize_in)
- $(AM_V_GEN)$(update_mans) -n 'Prepare a package to use libtool' libtoolize
+-$(libtoolnextv_1): $(libtoolnextv_in)
+- $(AM_V_GEN)$(update_mans) -n 'Determines next version to use for a libtool library' libtool-next-version
-
-
-
## ------------- ##
## Installation. ##
## ------------- ##
---
-2.39.5
-
diff --git a/meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch b/meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch
deleted file mode 100644
index 5a4411c8e5..0000000000
--- a/meta/recipes-devtools/libtool/libtool/0005-libtool-Check-for-static-libs-for-internal-compiler-.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 9f16cd0624641e489665415150792d9054af8a7a Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 26 Nov 2024 09:57:39 +0000
-Subject: [PATCH 5/7] libtool: Check for static libs for internal compiler
- libraries
-
-Libtool checks only for libraries linked as -l* when trying to
-find internal compiler libraries. Clang, however uses the absolute
-path to link its internal libraries e.g. compiler_rt. This patch
-handles clang's statically linked libraries when finding internal
-compiler libraries.
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-
-https://crbug.com/749263
-https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866
-
-Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00016.html]
----
- m4/libtool.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/m4/libtool.m4 b/m4/libtool.m4
-index 3650c87c..51493a10 100644
---- a/m4/libtool.m4
-+++ b/m4/libtool.m4
-@@ -7708,7 +7708,7 @@ if AC_TRY_EVAL(ac_compile); then
- for p in `eval "$output_verbose_link_cmd"`; do
- case $prev$p in
-
-- -L* | -R* | -l*)
-+ -L* | -R* | -l* | */libclang_rt.*.a)
- # Some compilers place space between "-{L,R,l}" and the path.
- # Remove the space.
- if test x-L = x"$p" ||
---
-2.39.5
-
diff --git a/meta/recipes-devtools/libtool/libtool_2.5.4.bb b/meta/recipes-devtools/libtool/libtool_2.6.2.bb
similarity index 100%
rename from meta/recipes-devtools/libtool/libtool_2.5.4.bb
rename to meta/recipes-devtools/libtool/libtool_2.6.2.bb
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.4.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.6.2.bb
similarity index 100%
rename from meta/recipes-devtools/libtool/nativesdk-libtool_2.5.4.bb
rename to meta/recipes-devtools/libtool/nativesdk-libtool_2.6.2.bb
next reply other threads:[~2026-08-04 12:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-04 12:05 Jaipaul Cheernam [this message]
2026-08-05 13:20 ` [OE-core] [PATCH] libtool: upgrade 2.5.4 -> 2.6.2 Mathieu Dubois-Briand
2026-08-05 13:37 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260804120503.2878-1-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox