[dunfell] [linux-megous] fatal error: gmp.h: No such file or directory
I am using the dunfell branch at f52f6f37 and
PREFERRED_VERSION_u-boot ?= "v2020.10%"
PREFERRED_RPROVIDER_u-boot-fw-utils ?= "u-boot-fw-utils"
PREFERRED_VERSION_u-boot-fw-utils ?= "v2020.10%"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-megous"
PREFERRED_VERSION_linux-megous ?= "5.10%"
Attempting to upgrade poky from yocto-3.1.3
to yocto-3.1.5
results in the following compile error:
[...]
HOSTCC scripts/selinux/mdp/mdp
In file included from /builds/build/tmp/work/nanopi_r1-allwinner-linux-gnueabi/linux-megous/5.10.4-r0/recipe-sysroot-native/usr/bin/arm-allwinner-linux-gnueabi/../../lib/arm-allwinner-linux-gnueabi/gcc/arm-allwinner-linux-gnueabi/9.3.0/plugin/include/gcc-plugin.h:28,
from scripts/gcc-plugins/gcc-common.h:7,
from scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/builds/build/tmp/work/nanopi_r1-allwinner-linux-gnueabi/linux-megous/5.10.4-r0/recipe-sysroot-native/usr/bin/arm-allwinner-linux-gnueabi/../../lib/arm-allwinner-linux-gnueabi/gcc/arm-allwinner-linux-gnueabi/9.3.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory
#include <gmp.h>
^~~~~~~
compilation terminated.
make[2]: *** [scripts/gcc-plugins/Makefile:47: scripts/gcc-plugins/arm_ssp_per_task_plugin.so] Error 1
make[1]: *** [scripts/Makefile.build:496: scripts/gcc-plugins] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1192: scripts] Error 2
WARNING: exit code 1 from a shell command.
Is this the GCC bug mentioned in the README?
Thank you
Edited by Andreas Fischer