diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 17:00:50 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-16 22:20:33 +0000 |
| commit | 5bf43c8c29bd334c5da6b1343f408171b2b0dc30 (patch) | |
| tree | 5388e9ed749b58e03ff6ac9970fae23372e59686 /meta/recipes-devtools/binutils | |
| parent | 8becce5b6392922781a70f9f20aa74aeefb8ea00 (diff) | |
| download | poky-5bf43c8c29bd334c5da6b1343f408171b2b0dc30.tar.gz | |
gcc: Dropping mips workaround
I've tested without this and the ptest results for mips are the same with
and without it so the issue this was fixing in gcc 9 was likely resolved
by gcc 11.
(From OE-Core rev: 567e199862acb948cb8b3361010a9ec221147c41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils')
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils_2.37.bb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/recipes-devtools/binutils/binutils_2.37.bb b/meta/recipes-devtools/binutils/binutils_2.37.bb index 7430bf1342..12a6fb5577 100644 --- a/meta/recipes-devtools/binutils/binutils_2.37.bb +++ b/meta/recipes-devtools/binutils/binutils_2.37.bb | |||
| @@ -27,10 +27,6 @@ EXTRA_OECONF:class-native = "--enable-targets=all \ | |||
| 27 | 27 | ||
| 28 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" | 28 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" |
| 29 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" | 29 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" |
| 30 | # gcc9.0 end up mis-compiling libbfd.so with O2 which then crashes on target | ||
| 31 | # So remove -O2 and use -Os as workaround | ||
| 32 | SELECTED_OPTIMIZATION:remove:mipsarch = "-O2" | ||
| 33 | SELECTED_OPTIMIZATION:append:mipsarch = " -Os" | ||
| 34 | 30 | ||
| 35 | do_install:class-native () { | 31 | do_install:class-native () { |
| 36 | autotools_do_install | 32 | autotools_do_install |
