On Mon, Jan 23, 2023 at 7:44 AM Jon Mason <[email protected]> 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 <[email protected]>
> ---
>  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
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7830): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7830
Mute This Topic: https://lists.yoctoproject.org/mt/96476377/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to