Hi,
I am trying to build the kernel prebuilts using the link:
I am getting this error:
drivers/gpu/arm/bifrost-hikey960/Kconfig:147:warning: choice value used outside its choice group
drivers/gpu/arm/bifrost-hikey960/Kconfig:150:warning: choice value used outside its choice group
drivers/gpu/arm/bifrost-hikey960/Kconfig:152:warning: choice value used outside its choice group
drivers/gpu/arm/bifrost-hikey960/Kconfig:156:warning: choice value used outside its choice group
./scripts/gcc-version.sh: line 25: aarch64-linux-android-gcc: command not found
./scripts/gcc-version.sh: line 26: aarch64-linux-android-gcc: command not found
make: aarch64-linux-android-gcc: Command not found
make: aarch64-linux-android-gcc: Command not found
CHK include/config/kernel.release
make: aarch64-linux-android-gcc: Command not found
Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
Makefile:1087: recipe for target ‘prepare-compiler-check’ failed
make: *** [prepare-compiler-check] Error 1
make: *** Waiting for unfinished jobs…
make: *** wait: No child processes. Stop.
My questions are :
- i am trying to build for hikey970, then why do i see the warning related to 960 as given below : drivers/gpu/arm/bifrost-hikey960/Kconfig:147:warning: choice value used outside its choice group
- Since GCC is deprecated, how kernel images should be built using clang?
- why this error:
Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
I was able to build the aosp on hikey 970 successfully in the month of November-2019, without any of these errors. I believe these problems arise only after GCC got deprecated in this month.
Any inputs in this regard will be very helpful.
Thanks
Board based on the Kirin 970 - HI3670 Application Processor
More info: http://www.96boards.org/product/hikey970/ (Website coming soon…)
Buy now: https://www.seeedstudio.com/HiKey-970-Development-Board-p-3046.html