diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2017-10-27 17:43:51 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-08 22:23:45 +0000 |
commit | 3717c76eb24217c14a22f72fdd8732923729dee8 (patch) | |
tree | dcb1fe5500c1fbd4f4ddc6e5eaa5a50cc2a9fe14 /meta/recipes-devtools/gcc/gcc-7.2.inc | |
parent | acdee728f0f6358dda709304ec307d737124aee6 (diff) | |
download | openembedded-core-contrib-3717c76eb24217c14a22f72fdd8732923729dee8.tar.gz |
gcc: fix miscompilation on mips64
We've observed strange behaviour of `systemctl status <xxx> on qemumips64.
The output of the command is like `systemctl show <xxx>', which is incorrect.
This patch is from gcc bugzilla's attachment.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803
The patch hasn't been merged into gcc. But it does solve the above problem.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.2.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.2.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.2.inc b/meta/recipes-devtools/gcc/gcc-7.2.inc index 5883bc61a6..04edad77cb 100644 --- a/meta/recipes-devtools/gcc/gcc-7.2.inc +++ b/meta/recipes-devtools/gcc/gcc-7.2.inc @@ -75,6 +75,7 @@ SRC_URI = "\ file://0048-gcc-Enable-static-PIE.patch \ file://fix-segmentation-fault-precompiled-hdr.patch \ file://0050-RISC-V-Handle-non-legitimate-address-in-riscv_legiti.patch \ + file://fix-miscompilation-for-O1-on-mips64el.patch \ ${BACKPORTS} \ " BACKPORTS = "\ |