diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-04-27 11:52:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-26 07:54:17 +0100 |
commit | 17085d769f40537937bf4ec20b4651fc8fc74e2f (patch) | |
tree | 16f9039e7fcd2e30f9833513c01d9c1be1032a94 /meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch | |
parent | deaedea295042df3e956660e43dbc871a8fa42d4 (diff) | |
download | poky-17085d769f40537937bf4ec20b4651fc8fc74e2f.tar.gz |
gcc: Upgrade to GCC 13.1 release
- Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on
gcc13+
- GCC 13 Porting guide [1] and major changes [2] and detailed documentation [3]
- Fix aarch64 cross build when S != B
[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
[2] https://www.gnu.org/software/gcc/gcc-13/changes.html
[3] https://gcc.gnu.org/onlinedocs/13.1.0/
(From OE-Core rev: b80c020eaeaaae82e5b32209ca8608b36eaaee40)
(From OE-Core rev: bea46612fd9106cc5b46eb1d81623b6492563c13)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch b/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch new file mode 100644 index 0000000000..11f42c59c4 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc/0023-Fix-install-path-of-linux64.h.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 7bd6e631e4a5273f5ecc41a5a48830a1342e5926 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei.gherzan@huawei.com> | ||
3 | Date: Wed, 22 Dec 2021 12:49:25 +0100 | ||
4 | Subject: [PATCH] Fix install path of linux64.h | ||
5 | |||
6 | We add linux64.h to tm includes[1] as a relative path to B. This patch | ||
7 | adapts the install path of linux64.h to match the include in tm.h. | ||
8 | |||
9 | [1] 0016-Use-the-multilib-config-files-from-B-instead-of-usin.patch | ||
10 | |||
11 | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> | ||
12 | |||
13 | Upstream-Status: Inappropriate [configuration] | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
15 | --- | ||
16 | gcc/Makefile.in | 2 ++ | ||
17 | 1 file changed, 2 insertions(+) | ||
18 | |||
19 | diff --git a/gcc/Makefile.in b/gcc/Makefile.in | ||
20 | index 065ce7e9a5b..d4c723968aa 100644 | ||
21 | --- a/gcc/Makefile.in | ||
22 | +++ b/gcc/Makefile.in | ||
23 | @@ -3738,6 +3738,8 @@ install-plugin: installdirs lang.install-plugin s-header-vars install-gengtype | ||
24 | "$(srcdir)"/config/* | "$(srcdir)"/common/config/* \ | ||
25 | | "$(srcdir)"/c-family/* | "$(srcdir)"/*.def ) \ | ||
26 | base=`echo "$$path" | sed -e "s|$$srcdirstrip/||"`;; \ | ||
27 | + */linux64.h ) \ | ||
28 | + base=`dirname $$path`;;\ | ||
29 | *) base=`basename $$path` ;; \ | ||
30 | esac; \ | ||
31 | dest=$(plugin_includedir)/$$base; \ | ||