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

Igor Plyatov plyatov at gmail.com
Thu May 28 06:31:43 PDT 2015


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?

Best wishes.
--
Igor Plyatov


More information about the meta-freescale mailing list