diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-10 11:34:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-14 10:23:27 +0100 |
commit | 014efb83d7f2205c5738926c7cc562fc810f2b41 (patch) | |
tree | ea01367fff111a194924dc9c0272ce01941b3173 | |
parent | 70f1fd06439fc0d340639cfe1e90ba8f4d9298fa (diff) | |
download | poky-014efb83d7f2205c5738926c7cc562fc810f2b41.tar.gz |
gcc_7.1.bb: disable thumb on armv5t
It results in same link errors like armv4t
(From OE-Core rev: 7fb9648f7a055beef9c8a735850b1b51fd23ff1d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc_7.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc_7.1.bb b/meta/recipes-devtools/gcc/gcc_7.1.bb index 2c618dfb93..ab208e7026 100644 --- a/meta/recipes-devtools/gcc/gcc_7.1.bb +++ b/meta/recipes-devtools/gcc/gcc_7.1.bb | |||
@@ -1,9 +1,10 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
2 | require gcc-target.inc | 2 | require gcc-target.inc |
3 | 3 | ||
4 | # Building with thumb enabled on armv4t fails with | 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 | 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 | 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" | 7 | ARM_INSTRUCTION_SET_armv4 = "arm" |
8 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
8 | 9 | ||
9 | BBCLASSEXTEND = "nativesdk" | 10 | BBCLASSEXTEND = "nativesdk" |