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

Adrian Freihofer adrian.freihofer at gmail.com
Mon Sep 21 12:45:57 UTC 2015


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 <net147 at gmail.com>:

> On 21/09/2015 10:23 PM, Burton, Ross wrote:
>
>
> On 21 September 2015 at 12:23, Jonathan Liu <net147 at gmail.com> 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 architecture (such as ARM)?  Just wondering if we can use
> overrides to only change the optimisations where they're a problem.
>
> Ross
>
> I am not sure how to isolate if it's an issue in the systemd source code
> but the issue is not present when using GCC 4.9.
> Haven't checked if this is occuring on other architectures. Any feedback
> whether this occurs on other platforms (Raspberry Pi 2 is ARMv7) is welcome.
>
> Regards,
> Jonathan
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150921/dd18b335/attachment-0002.html>


More information about the Openembedded-core mailing list