Re: [PATCH] xen: force usage of gcc

Khem Raj

On Mon, Jan 23, 2023 at 7:44 AM Jon Mason <jdmason@...> wrote:
xen-tools and xen (and possibly others) fail to compile with clang, with the following error:
 configure: error: in `/builder/meta-arm/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.17+stableAUTOINC+11560248ff-r0/git/tools':
 configure: error: C compiler cannot create executables
 See `config.log' for more details
 configure: error: ./configure failed for tools

And what’s does config.log say ? 
Can you post this file somewhere 

Force all of xen to use gcc until this issue can be resolved.

Signed-off-by: Jon Mason <jdmason@...>
 recipes-extended/xen/ | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-extended/xen/ b/recipes-extended/xen/
index 5937763a7ddf..dcd281b5a21b 100644
--- a/recipes-extended/xen/
+++ b/recipes-extended/xen/
@@ -2,6 +2,8 @@ HOMEPAGE = ""
 LICENSE = "GPL-2.0-only"
 SECTION = "console/tools"

+TOOLCHAIN = "gcc"
 inherit autotools-brokensep pkgconfig


Join to automatically receive all group messages.