mirror of
git://git.yoctoproject.org/poky
synced 2026-10-29 23:50:45 +00:00
This is major release upgrade. major changes are listed in [1] and it has a list of bugs [2] fixed as well This release may differ in significant ways from prior gcc releases where it may require port the code to gcc 14, there is a porting guide [3] available. [1] https://gcc.gnu.org/gcc-14/changes.html [2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.0 [3] https://gcc.gnu.org/gcc-14/porting_to.html (From OE-Core rev: fc48aa30e91ffe94f1012fe108fb1db5233a0bc0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 869295f6f1095b6334c1ea34f8d11a676c67e256 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Fri, 29 Mar 2013 09:29:11 +0400
|
|
Subject: [PATCH] libtool
|
|
|
|
libstdc++ from gcc-runtime gets created with -rpath=/usr/lib/../lib for qemux86-64
|
|
when running on am x86_64 build host.
|
|
|
|
This patch stops this speading to libdir in the libstdc++.la file within libtool.
|
|
Arguably, it shouldn't be passing this into libtool in the first place but
|
|
for now this resolves the nastiest problems this causes.
|
|
|
|
func_normal_abspath would resolve an empty path to `pwd` so we need
|
|
to filter the zero case.
|
|
|
|
RP 2012/8/24
|
|
|
|
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2023-04/msg00000.html]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
ltmain.sh | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/ltmain.sh b/ltmain.sh
|
|
index 70990740b6c..ee938056bef 100644
|
|
--- a/ltmain.sh
|
|
+++ b/ltmain.sh
|
|
@@ -6359,6 +6359,10 @@ func_mode_link ()
|
|
func_warning "ignoring multiple \`-rpath's for a libtool library"
|
|
|
|
install_libdir="$1"
|
|
+ if test -n "$install_libdir"; then
|
|
+ func_normal_abspath "$install_libdir"
|
|
+ install_libdir=$func_normal_abspath_result
|
|
+ fi
|
|
|
|
oldlibs=
|
|
if test -z "$rpath"; then
|