mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 05:39:39 +01:00
2.5.2 was a beta, upstream made two stable releases since: https://savannah.gnu.org/news/?id=10676 https://savannah.gnu.org/news/?id=10693 Drop libtool/0001-ltmain.in-Handle-trailing-slashes-on-install-command.patch (merged upstream) Apply the multilib patch unconditionally as it could be applied to add variants. For the other it was pointed out that it: "potentially has side effects for native builds. It breaks the ability to run files in the .libs directory which in the cross case we don't care about but some natives did once used to do that. The risk is they find host things instead." License-Update: change of FSF address to a URI (From OE-Core rev: 9a672faf21648c60d7ff29439bb236f3ac87100d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
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
|
|
|