Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Adrian Freihofer
Hi Jonathan Your patch is fine on beaglebone black. At least it is possible to login. Thank you. Regards, Adrian On Mon, 2015-09-21 at 22:49 +1000, Jonathan Liu wrote: > Hi Adrian, > > On 21/09/2015 10:45 PM, Adrian Freihofer wrote: > > On Beaglebone-black Systemd 215 does not boot if compiled

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
On 21/09/2015 10:23 PM, Burton, Ross wrote: On 21 September 2015 at 12:23, Jonathan Liu > wrote: +FULL_OPTIMIZATION += "-fno-schedule-insns -fno-schedule-insns2" Are these bugs with the gcc optimisations or the systemd source code, and if its

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Adrian Freihofer
Hi, On Beaglebone-black Systemd 215 does not boot if compiled with -O2. Compiling with -O1 works. Regards, Adrian 2015-09-21 14:31 GMT+02:00 Jonathan Liu : > On 21/09/2015 10:23 PM, Burton, Ross wrote: > > > On 21 September 2015 at 12:23, Jonathan Liu

[OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
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 --- meta/recipes-core/systemd/systemd_225.bb | 3 +++

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
Hi Adrian, On 21/09/2015 10:45 PM, Adrian Freihofer wrote: On Beaglebone-black Systemd 215 does not boot if compiled with -O2. Compiling with -O1 works. 2015-09-21 14:31 GMT+02:00 Jonathan Liu >: On 21/09/2015 10:23 PM, Burton, Ross wrote:

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Burton, Ross
On 21 September 2015 at 12:23, Jonathan Liu wrote: > +FULL_OPTIMIZATION += "-fno-schedule-insns -fno-schedule-insns2" > Are these bugs with the gcc optimisations or the systemd source code, and if its gcc's fault are the problematic optimisations specific to a particular

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
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

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Khem Raj
Please make it arm specific On Sep 21, 2015 4:22 AM, "Jonathan Liu" 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