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 <net...@gmail.com <mailto:net...@gmail.com>>:

    On 21/09/2015 10:23 PM, Burton, Ross wrote:

    On 21 September 2015 at 12:23, Jonathan Liu <net...@gmail.com
    <mailto:net...@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


Can you try the patch instead of changing -O2 to -O1 to see if it fixes booting with systemd?

Regards,
Jonathan
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to