diff options
author | Jonathan Liu <net147@gmail.com> | 2015-09-22 03:56:29 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-24 17:54:29 +0100 |
commit | 3235a647df2fcaad87a953bcb1384e297b8e4c3c (patch) | |
tree | fb75b2c262d6fce779ab05b815238ad7b3a9a323 /meta/recipes-core/systemd | |
parent | 6e7ed5ef62515352441b94e3029b8bdec6f375a6 (diff) | |
download | poky-3235a647df2fcaad87a953bcb1384e297b8e4c3c.tar.gz |
systemd: disable problematic GCC 5.2 optimizations
This fixes systemd failing to start on Raspberry Pi 2 if it is compiled
with GCC 5.2.
It would try to start "Journal Service" and "udev Kernel Device Manager"
but fail repeatedly.
[YOCTO #8291]
(From OE-Core rev: 8572b883730d68fa2e9bc46375383f5f1edfae7e)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd_225.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb index f7d4c7df48..fd1a3f315a 100644 --- a/meta/recipes-core/systemd/systemd_225.bb +++ b/meta/recipes-core/systemd/systemd_225.bb | |||
@@ -123,6 +123,9 @@ EXTRA_OECONF = " --with-rootprefix=${rootprefix} \ | |||
123 | # uclibc does not have NSS | 123 | # uclibc does not have NSS |
124 | EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname " | 124 | EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname " |
125 | 125 | ||
126 | # disable problematic GCC 5.2 optimizations [YOCTO #8291] | ||
127 | FULL_OPTIMIZATION_append_arm = " -fno-schedule-insns -fno-schedule-insns2" | ||
128 | |||
126 | do_configure_prepend() { | 129 | do_configure_prepend() { |
127 | export NM="${HOST_PREFIX}gcc-nm" | 130 | export NM="${HOST_PREFIX}gcc-nm" |
128 | export AR="${HOST_PREFIX}gcc-ar" | 131 | export AR="${HOST_PREFIX}gcc-ar" |