[OE-core] kernel miscompilation with gcc 4.8 for ARMv5

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Wed Jul 10 12:34:43 UTC 2013


Enrico Scholz
<enrico.scholz-wttK6gPy29v+Hn7q9Vec/7NAH6kLmebB at public.gmane.org>
writes:

> is it expected that recent gcc 4.8[1] compiles the kernel correctly?
> Kernels for ARMv5 platforms (PXA168 -> 3.4.52, MX28 -> 3.8.13) fail here
> 100% at early boot with

Applying two upstream kernel commits
455bd4c430b0c0a361f38e8658a0d6cb469942b5 (ARM: 7668/1: fix
memset-related crashes caused by recent GCC (4.7.2) optimizations) and
418df63adac56841ef6b0f1fcf435bc64d4ed177 (ARM: 7670/1: fix the memset
fix) seem to fix the problem for me.



Enrico



More information about the Openembedded-core mailing list