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 <[email protected] <mailto:[email protected]>>:On 21/09/2015 10:23 PM, Burton, Ross wrote:On 21 September 2015 at 12:23, Jonathan Liu <[email protected] <mailto:[email protected]>> 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. RossI 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 [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
