Issue with gcc6
Hi ,
I was trying to setup yocto on my debian VM and pulled the latest yocto fido and tried to compile the core_image_sato.
I am getting the below error in the base build.
/home/sarayu/code/yocto-sample/poky/build/tmp/work/x86_64-linux/elfutils-nat ive/0.161-r0/elfutils-0.161/libebl/eblinitreg.c:50:26: error: nonnull argument 'ebl' compared to NULL [-Werror=nonnull-compare]
| return ebl == NULL ? 0 : ebl->frame_nregs;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| Makefile:529: recipe for target 'eblinitreg.o' failed
| make[2]: *** [eblinitreg.o] Error 1
Can you please let me know if a patch or fix is already available for the same.
Thanks in advance for your help.
Thanks and Regards
Sarayu
Fido is almost three years old, isn't supported, and doesn't support gcc6 hosts.
Either:
1) move to a release which is supported, such a Rocko
2) use a supported host distro for Fido
3) fix the problems yourself. In this case the warning is showing you a line which would crash if executed.
Ross
Quoted 47 lines · On 16 March 2018 at 04:48, <[email protected]> wrote:
Hi ,
I was trying to setup yocto on my debian VM and pulled the latest yocto fido and tried to compile the
core_image_sato.I am getting the below error in the base build.
/home/sarayu/code/yocto-sample/poky/build/tmp/work/x86_64-linux/elfutils-native/0.161-r0/elfutils-0.161/libebl/eblinitreg.c:50:26:
error: nonnull argument 'ebl' compared to NULL [-Werror=nonnull-compare]| return ebl == NULL ? 0 :
ebl->frame_nregs;| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| Makefile:529: recipe for target 'eblinitreg.o' failed
| make[2]: *** [eblinitreg.o] Error 1
Can you please let me know if a patch or fix is already available for the same.
Thanks in advance for your help.
Thanks and Regards
Sarayu
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto