Hi Bruce, Bad timing on my part - I posted this before spotting Harish's series, sorry for the noise.
It's not quite the same though: the point of this series is patches 1 and 3, keeping the kernel, out-of-tree modules and make-mod-scripts on one toolchain. With only the kernel recipe switched to clang, modules and make-mod-scripts still run make against the shared kernel build tree with the gcc defaults; kbuild notices the CC_VERSION_TEXT mismatch and re-runs syncconfig, silently dropping compiler-dependent options from the shared .config - CONFIG_CFI_CLANG for example disappears as soon as any out-of-tree module is built, with no error anywhere. Reproduced on qemux86-64 with cryptodev-module. I'll drop the two patches that overlap with Harish's series and send a v2 with the module/make-mod-scripts side rebased on top of his. Mark
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240417): https://lists.openembedded.org/g/openembedded-core/message/240417 Mute This Topic: https://lists.openembedded.org/mt/120168206/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
