Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jonathan Liu <net147@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] systemd: disable problematic GCC 5.2 optimizations
Date: Tue, 22 Sep 2015 04:04:20 +1000	[thread overview]
Message-ID: <560046A4.7000609@gmail.com> (raw)
In-Reply-To: <CAMKF1srzh9OqXn60B3wgxRKExNnTK31rFbSvhrCMwoicF8BR_A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1865 bytes --]

Hi Khem,

On 22/09/2015 3:05 AM, Khem Raj wrote:
>
> Please make it arm specific
>
I have sent V2 that only makes the change for arm.
Interestly, this issue doesn't appear for qemuarm (ARMv5) when running 
under qemu.

I am wondering if this issue affects platforms other than ARM on real 
boards depending on TUNE_FEATURES and TARGET_FPU.
> On Sep 21, 2015 4:22 AM, "Jonathan Liu" <net147@gmail.com 
> <mailto:net147@gmail.com>> wrote:
>
>     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]
>
>     Signed-off-by: Jonathan Liu <net147@gmail.com
>     <mailto:net147@gmail.com>>
>     ---
>      meta/recipes-core/systemd/systemd_225.bb <http://systemd_225.bb>
>     | 3 +++
>      1 file changed, 3 insertions(+)
>
>     diff --git a/meta/recipes-core/systemd/systemd_225.bb
>     <http://systemd_225.bb> b/meta/recipes-core/systemd/systemd_225.bb
>     <http://systemd_225.bb>
>     index f7d4c7d..4a19ff4 100644
>     --- a/meta/recipes-core/systemd/systemd_225.bb <http://systemd_225.bb>
>     +++ b/meta/recipes-core/systemd/systemd_225.bb <http://systemd_225.bb>
>     @@ -123,6 +123,9 @@ EXTRA_OECONF = " --with-rootprefix=${rootprefix} \
>      # uclibc does not have NSS
>      EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "
>
>     +# disable problematic GCC 5.2 optimizations [YOCTO #8291]
>     +FULL_OPTIMIZATION += "-fno-schedule-insns -fno-schedule-insns2"
>     +
>      do_configure_prepend() {
>             export NM="${HOST_PREFIX}gcc-nm"
>             export AR="${HOST_PREFIX}gcc-ar"
>     --
>     2.5.0<http://lists.openembedded.org/mailman/listinfo/openembedded-core>
>
Regards,
Jonathan

[-- Attachment #2: Type: text/html, Size: 3590 bytes --]

      reply	other threads:[~2015-09-21 18:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 11:23 [PATCH] systemd: disable problematic GCC 5.2 optimizations Jonathan Liu
2015-09-21 12:23 ` Burton, Ross
2015-09-21 12:31   ` Jonathan Liu
2015-09-21 12:45     ` Adrian Freihofer
2015-09-21 12:49       ` Jonathan Liu
2015-09-21 13:53         ` Adrian Freihofer
2015-09-21 17:05 ` Khem Raj
2015-09-21 18:04   ` Jonathan Liu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560046A4.7000609@gmail.com \
    --to=net147@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox