[meta-freescale] linux-3.8.5-rt2 does not work with GCC-4.8.2 and GCC-4.9.2

Gary Thomas gary at mlbassoc.com
Thu May 28 06:41:27 PDT 2015


On 2015-05-28 07:31, Igor Plyatov wrote:
> Dear all,
>
> My device is Voipac VMX51 machine based on i.MX51 CPU.
>
> Previously I use Poky-Dylan-9.0.2 and custom linux kernel 3.8.5 with Real Time patch 3.8.4-rt.
> Kernel works fine if it was compiled by GCC-4.5.3 (some very old OpenEmbedded) or GCC-4.7.2 (poky-dylan-9.0.2).
>
> At some moment I decided to upgrade onto Poky-Dizzy-12.0.0 or Poky-Fido-13.0.0, but encounter an issue with kernel operation.
> Kernel compiled by GCC-4.8.2 or GCC-4.9.2 simply does not work at all. No anyone message was printed at terminal after loading of kernel by boot-loader.
>
> To confirm issue, I intentionally compile same kernel source tree by hands with GCC-4.7.2 and it works fine.
> This is made by small script like following:
>
> PATH=$PATH:..../yocto-build-poky-dylan-9.0.2/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi
> "make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi-"
>
> Does somebody experience similar issues with kernel compiled by old and new compilers?
>
> Unfortunately I does not know a way how to resolve this issue with new compilers.
> Can you recommend how to resolve issue with compiler version in newest Poky?

Check to make sure your kernel has these two patches applied

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-7668-1-fix-memset-related-crashes-caused-by-rece.patch
Type: text/x-patch
Size: 6729 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150528/5487ec6a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ARM-7670-1-fix-the-memset-fix.patch
Type: text/x-patch
Size: 2347 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150528/5487ec6a/attachment-0001.bin>


More information about the meta-freescale mailing list