xen: force usage of gcc
PATCH 1/1 xen: force usage of gcc
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.
--- recipes-extended/xen/xen.inc | 2 ++ 1 file changed, 2 insertions(+)
recipes-extended/xen/xen.inc +2 -0
@@ -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
Signature · 1 line
2.30.2
Quoted 7 lines · 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
And what’s does config.log say ?
Can you post this file somewhere
Quoted 25 lines
Force all of xen to use gcc until this issue can be resolved.
Signed-off-by Jon Mason <[email protected]>--- recipes-extended/xen/xen.inc | 2 ++ 1 file changed, 2 insertions(+)recipes-extended/xen/xen.inc +2
-1@@ -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
I'm attaching the failing logs to this email. Let me know if it doesn't go through.
Quoted 41 lines · Khem Raj
Quoted 6 lines · 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 toolsAnd what’s does config.log say ?
Can you post this file somewhereQuoted 25 lines
Force all of xen to use gcc until this issue can be resolved.
Signed-off-by Jon Mason <[email protected]>--- recipes-extended/xen/xen.inc | 2 ++ 1 file changed, 2 insertions(+)recipes-extended/xen/xen.inc +2
-1@@ -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
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
Quoted 48 lines · Jon Mason
I'm attaching the failing logs to this email. Let me know if it doesn't go through.
Quoted 6 lines · Khem Raj
Quoted 2 lines · Jon Mason
xen-tools and xen (and possibly others) fail to compile with clang,
with the following error:
Quoted 1 line
Quoted 1 line
configure: error: in
`/builder/meta-arm/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.17+stableAUTOINC+11560248ff-r0/git/tools':
Quoted 34 lines
Quoted 3 lines
configure: error: C compiler cannot create executables See `config.log' for more details
configure: error: ./configure failed for toolsAnd what’s does config.log say ?
Can you post this file somewhereQuoted 25 lines
Force all of xen to use gcc until this issue can be resolved.
Signed-off-by Jon Mason <[email protected]>--- recipes-extended/xen/xen.inc | 2 ++ 1 file changed, 2 insertions(+)recipes-extended/xen/xen.inc +2
-1@@ -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