* Building linux5-11 fails in yocto #yocto
@ 2021-10-28 21:58 jjvazha
0 siblings, 0 replies; only message in thread
From: jjvazha @ 2021-10-28 21:58 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 1435 bytes --]
I am trying to build linux5.11 in yocto. However it fails
linux-altera/5.11+gitAUTOINC+27e8b9142b-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/8.3.0/plugin/include/system.h:687:17: fatal error: gmp.h: No such file or directory
| #include <gmp.h>
| ^
| compilation terminated.
| make[3]: *** [scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
| make[2]: *** [scripts/gcc-plugins] Error 2
| make[1]: *** [scripts] Error 2
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed
I added EXTRA_OEMAKE as suggested by https://lists.yoctoproject.org/g/linux-yocto/topic/76045798
That leads in to another error of missing header
linux-altera/5.11+gitAUTOINC+27e8b9142b-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/8.3.0/plugin/include/system.h:691:23: fatal error: libiberty.h: No such file or directory
| #include "libiberty.h"
| ^
| compilation terminated.
| make[3]: *** [scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
| make[2]: *** [scripts/gcc-plugins] Error 2
| make[1]: *** [scripts] Error 2
| make: *** [__sub-make] Error 2
Since libiberty is a part of binutils, I added
DEPENDS+= " binutils-native"
But that leads in to another error of missing poly-int.h
[-- Attachment #2: Type: text/html, Size: 1827 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-28 21:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 21:58 Building linux5-11 fails in yocto #yocto jjvazha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.