Date
1 - 4 of 4
[PATCH] xen: force usage of gcc
Jon Mason
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 Force all of xen to use gcc until this issue can be resolved. Signed-off-by: Jon Mason <jdmason@...> --- recipes-extended/xen/xen.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 5937763a7ddf..dcd281b5a21b 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -2,6 +2,8 @@ HOMEPAGE = "http://xen.org" LICENSE = "GPL-2.0-only" SECTION = "console/tools" +TOOLCHAIN = "gcc" + inherit autotools-brokensep pkgconfig require xen-arch.inc -- 2.30.2 |
|
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: And what’s does config.log say ? Can you post this file somewhere
|
|
Jon Mason
I'm attaching the failing logs to this email. Let me know if it
toggle quoted message
Show quoted text
doesn't go through. On Mon, Jan 23, 2023 at 11:30 AM Khem Raj <raj.khem@...> wrote:
|
|
configure: line 2898: arm-poky-linux-gnueabi-gcc: command not found So it seems this components build system does not respect CC and other bitbake environment variable On Mon, Jan 23, 2023 at 11:05 AM Jon Mason <jdmason@...> wrote: I'm attaching the failing logs to this email. Let me know if it |
|