| Summary: | `systemctl status' command doesn't behave correctly on qemumips64 | ||
|---|---|---|---|
| Product: | [Runtime] General Runtime | Reporter: | Chen Qi <Qi.Chen> |
| Component: | General Runtime | Assignee: | Chen Qi <Qi.Chen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | stephano |
| Version: | 2.4 | ||
| Target Milestone: | 2.4.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Backport 2.3.3 and 2.4.1? | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Chen Qi
2017-10-23 08:32:38 UTC
Searched gcc bugzilla, there's a bug that seems to be related to this one. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81803 git://git.pokylinux.org/poky-contrib ChenQi/bug12266 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/bug12266 commit b656fd9267b1f36d46ca20a1c0bcfaedbf7df438 Author: Chen Qi <Qi.Chen@windriver.com> Date: Fri Oct 27 17:43:51 2017 +0800 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. (From OE-Core rev: 3717c76eb24217c14a22f72fdd8732923729dee8) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> commit cd803651751fec224c78509743e10aea79a941de Author: Chen Qi <Qi.Chen@windriver.com> Date: Fri Oct 27 17:43:50 2017 +0800 systemd: remove useless options for mips4 Looking back the history, we had problem with systemd on qemumips64 which is also related to compilation flags. We solved that by using tweaking FULL_OPTIMIZATION for mips64 to have "-fno-tree-switch-conversion -fno-tree-tail-merge". Now systemd has been upgraded to 234, and we don't have the above problem any more, thus removing these flags. (From OE-Core rev: 713761d23df24ad1b52e08bd2d2dc688393bef5b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |