AnsweredAssumed Answered

Compilation failure linux-qoriq-rt 4.14

Question asked by Renaud De Koninck on Jan 27, 2020
Latest reply on Jan 28, 2020 by Renaud De Koninck

Hi,

 

I'm working on a t1024rdb board and trying to enable linux-qoriq-rt 4.14 from the SDK. I'm using the "zeus" branch from the yocto SDK (readme - qoriq-components/yocto-sdk - Repo manifest for QorIQ Yocto SDK).#

I have followed instructions from the README : 

- I have added "PREFERRED_VERSION_linux-qoriq = "4.14" in meta-qoriq-demos/conf/distro/fsl-qoriq.conf

- I have set PREFERRED_PROVIDER_virtual/kernel = "linux-qoriq-rt" in my local.conf

 

bitbake fails in kernel compilation see error below and attached complete kernel compilation log

 

/home/yocto/dev/build-t1024rdb-zeus/tmp/work-shared/t1024rdb/kernel-source/include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long u
nsigned int,  size_t,  long unsigned int,  long unsigned int,  long unsigned int,  long unsigned int)' {aka 'long int(long unsigned int,  unsigned int,  long unsigned int,  long unsigned in
t,  long unsigned int,  long unsigned int)'} and 'long int(long int,  long int,  long int,  long int,  long int,  long int)' [-Werror=attribute-alias=]
/home/yocto/dev/build-t1024rdb-zeus/tmp/work-shared/t1024rdb/kernel-source/include/linux/syscalls.h:211:18: error: 'sys_mmap' alias between functions of incompatible types 'long int(long un
signed int,  size_t,  long unsigned int,  long unsigned int,  long unsigned int,  off_t)' {aka 'long int(long unsigned int,  unsigned int,  long unsigned int,  long unsigned int,  long unsi
gned int,  long int)'} and 'long int(long int,  long int,  long int,  long int,  long int,  long int)' [-Werror=attribute-alias=]
cc1: all warnings being treated as errors

 

Does anybody know how solve this and have an hint how to solve it ? 

 

Thanks in advance,

Attachments

Outcomes