mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
Whilst this is an alpha release, it makes sense for us to stay close to upstream. We can drop a lot of merged patches which is great to see. During testing, one bug showed up, particularly on mip64 due to an issue with FILECMD being changed to use AC_CHECK_PROG incorredly. A patch has been added for that and sent upstream. (From OE-Core rev: d572297c5810fb248af633014eac96f8ea0a739e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From: Khem Raj <raj.khem@gmail.com>
|
|
Subject: [PATCH 08/12] 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]
|
|
|
|
Index: libtool-2.5.0/m4/libtool.m4
|
|
===================================================================
|
|
--- libtool-2.5.0.orig/m4/libtool.m4
|
|
+++ libtool-2.5.0/m4/libtool.m4
|
|
@@ -7553,7 +7553,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" ||
|