kconfiglib.KconfigError: scripts/Kconfig.include:50: Sorry, this assembler is not supported.
Kconfig.include calls as_version.sh, if the compiler is not gcc, it only looks for -fintegrated-as since the version will be the same as the compiler (which was already checked).
This is my first attempt at compiling a system with clang and I'm relatively new to Yocto so it's not clear to me why others would not experience this same issue as well. Doesn't appear to be a difference in linux-raspberrypi but I'm not certain.
My issue is solved just dropping here in case this is a valid fix for others.
Describe the bug Without adding
-fintegrated-as
to CC. Get the following error message:Digging into the log file the actual error is:
Kconfig.include calls as_version.sh, if the compiler is not gcc, it only looks for
-fintegrated-as
since the version will be the same as the compiler (which was already checked).This is my first attempt at compiling a system with clang and I'm relatively new to Yocto so it's not clear to me why others would not experience this same issue as well. Doesn't appear to be a difference in
linux-raspberrypi
but I'm not certain.My issue is solved just dropping here in case this is a valid fix for others.
Environment
rpi-test-image
with no modificationslinux-raspberrypi
kernel recipe