<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Khem,<br>
<br>
On 22/09/2015 3:05 AM, Khem Raj wrote:<br>
</div>
<blockquote
cite="mid:CAMKF1srzh9OqXn60B3wgxRKExNnTK31rFbSvhrCMwoicF8BR_A@mail.gmail.com"
type="cite">
<p dir="ltr">Please make it arm specific </p>
</blockquote>
I have sent V2 that only makes the change for arm.<br>
Interestly, this issue doesn't appear for qemuarm (ARMv5) when
running under qemu.<br>
<br>
I am wondering if this issue affects platforms other than ARM on
real boards depending on TUNE_FEATURES and TARGET_FPU.<br>
<blockquote
cite="mid:CAMKF1srzh9OqXn60B3wgxRKExNnTK31rFbSvhrCMwoicF8BR_A@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Sep 21, 2015 4:22 AM, "Jonathan Liu"
<<a moz-do-not-send="true" href="mailto:net147@gmail.com">net147@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">This fixes
systemd failing to start on Raspberry Pi 2 if it is compiled<br>
with GCC 5.2.<br>
<br>
It would try to start "Journal Service" and "udev Kernel
Device Manager"<br>
but fail repeatedly.<br>
<br>
[YOCTO #8291]<br>
<br>
Signed-off-by: Jonathan Liu <<a moz-do-not-send="true"
href="mailto:net147@gmail.com">net147@gmail.com</a>><br>
---<br>
meta/recipes-core/systemd/<a moz-do-not-send="true"
href="http://systemd_225.bb" rel="noreferrer"
target="_blank">systemd_225.bb</a> | 3 +++<br>
1 file changed, 3 insertions(+)<br>
<br>
diff --git a/meta/recipes-core/systemd/<a
moz-do-not-send="true" href="http://systemd_225.bb"
rel="noreferrer" target="_blank">systemd_225.bb</a>
b/meta/recipes-core/systemd/<a moz-do-not-send="true"
href="http://systemd_225.bb" rel="noreferrer"
target="_blank">systemd_225.bb</a><br>
index f7d4c7d..4a19ff4 100644<br>
--- a/meta/recipes-core/systemd/<a moz-do-not-send="true"
href="http://systemd_225.bb" rel="noreferrer"
target="_blank">systemd_225.bb</a><br>
+++ b/meta/recipes-core/systemd/<a moz-do-not-send="true"
href="http://systemd_225.bb" rel="noreferrer"
target="_blank">systemd_225.bb</a><br>
@@ -123,6 +123,9 @@ EXTRA_OECONF = "
--with-rootprefix=${rootprefix} \<br>
# uclibc does not have NSS<br>
EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "<br>
<br>
+# disable problematic GCC 5.2 optimizations [YOCTO #8291]<br>
+FULL_OPTIMIZATION += "-fno-schedule-insns
-fno-schedule-insns2"<br>
+<br>
do_configure_prepend() {<br>
export NM="${HOST_PREFIX}gcc-nm"<br>
export AR="${HOST_PREFIX}gcc-ar"<br>
--<br>
2.5.0<a moz-do-not-send="true"
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
rel="noreferrer" target="_blank"></a><br>
</blockquote>
</div>
</blockquote>
Regards,<br>
Jonathan<br>
</body>
</html>