diff options
author | Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> | 2022-04-07 15:26:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-09 19:50:45 +0100 |
commit | a8095c99ab30e96e620c2e0ef0aec8bc54753894 (patch) | |
tree | cb54d721269106c9f9badaee130c034eb3f96dfc /meta/recipes-devtools/gcc/gcc_12.0.bb | |
parent | 89efab2850766378d89579c094670357775b69b6 (diff) | |
download | poky-a8095c99ab30e96e620c2e0ef0aec8bc54753894.tar.gz |
gcc: upgrade 11.2 -> current 12 snapshotuninative-3.6master-uninative
gcc 12 is expected to be released this month or early next month.
Update so we're prepared.
This keeps/ports all patches currently applied to 11.2 that haven't
landed upstream yet.
[v2: Back out the zephyr DWARF-4 workaround]
(From OE-Core rev: 540116ca70fb71ac489b61b74b3a397ff92f27e2)
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc_12.0.bb')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc_12.0.bb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc_12.0.bb b/meta/recipes-devtools/gcc/gcc_12.0.bb new file mode 100644 index 0000000000..255fe552bd --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc_12.0.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | ||
2 | require gcc-target.inc | ||
3 | |||
4 | # Building with thumb enabled on armv4t armv5t fails with | ||
5 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7438:(.text.unlikely+0x2fa): relocation truncated to fit: R_ARM_THM_CALL against symbol `fancy_abort(char const*, int, char const*)' defined in .glue_7 section in linker stubs | ||
6 | # | gcc-4.8.1-r0/gcc-4.8.1/gcc/cp/decl.c:7442:(.text.unlikely+0x318): additional relocation overflows omitted from the output | ||
7 | ARM_INSTRUCTION_SET:armv4 = "arm" | ||
8 | ARM_INSTRUCTION_SET:armv5 = "arm" | ||
9 | |||
10 | ARMFPARCHEXT:armv6 = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" | ||
11 | ARMFPARCHEXT:armv7a = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" | ||
12 | ARMFPARCHEXT:armv7ve = "${@'+fp' if d.getVar('TARGET_FPU') == 'hard' else ''}" | ||
13 | |||
14 | BBCLASSEXTEND = "nativesdk" | ||