diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-11-09 22:10:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-14 07:54:06 -0700 |
commit | 4732d2936cf22dbf2a3fd5548157fa281045e1a4 (patch) | |
tree | 4c159184da4fd731482d235098dce34c80c1966f /meta/recipes-devtools/gcc/gcc-6.4.inc | |
parent | 6e6e9f4cdfa88f11d20623ae9082be4bdbeded95 (diff) | |
download | poky-4732d2936cf22dbf2a3fd5548157fa281045e1a4.tar.gz |
gcc6: enable FL_LPAE flag for armv7ve cores
The following commit added the FL_LPAE flag to FL_FOR_ARCH7VE, but
neglected to also add it to the armv7ve compatible cores defined in
arm-cores.def.
https://github.com/gcc-mirror/gcc/commit/af2d9b9e58e8be576c53d94f30c48c68146b0c98
The result is that gcc 6.4 now refuses to allow -march=armv7ve and
-mcpu=XXX to be used together, even when -mcpu is set to an armv7ve
compatible core:
arm-linux-gnueabi-gcc -march=armv7ve -mcpu=cortex-a7 -Werror ...
error: switch -mcpu=cortex-a7 conflicts with -march=armv7ve switch [-Werror]
Fix by defining flags for armv7ve compatible cores directly from
FL_FOR_ARCH7VE, rather than re-creating the armv7ve flags
independently by combining FL_FOR_ARCH7A with the armv7ve specific
FL_THUMB_DIV and FL_ARM_DIV flags.
(From OE-Core rev: e0d856d64f9e2afd762d6d40bcc6c8dc5e06b430)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-6.4.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-6.4.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-6.4.inc b/meta/recipes-devtools/gcc/gcc-6.4.inc index 93a1f24896..1a4a0ed128 100644 --- a/meta/recipes-devtools/gcc/gcc-6.4.inc +++ b/meta/recipes-devtools/gcc/gcc-6.4.inc | |||
@@ -81,6 +81,7 @@ SRC_URI = "\ | |||
81 | BACKPORTS = "\ | 81 | BACKPORTS = "\ |
82 | file://CVE-2016-6131.patch \ | 82 | file://CVE-2016-6131.patch \ |
83 | file://0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch \ | 83 | file://0057-ARM-PR-82445-suppress-32-bit-aligned-ldrd-strd-peeph.patch \ |
84 | file://0001-enable-FL_LPAE-flag-for-armv7ve-cores.patch \ | ||
84 | " | 85 | " |
85 | SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" | 86 | SRC_URI[md5sum] = "11ba51a0cfb8471927f387c8895fe232" |
86 | SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4" | 87 | SRC_URI[sha256sum] = "850bf21eafdfe5cd5f6827148184c08c4a0852a37ccf36ce69855334d2c914d4" |