From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76EEBC433F5 for ; Wed, 29 Dec 2021 11:06:14 +0000 (UTC) Received: from localhost ([::1]:35748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2Wmb-0007zN-9i for qemu-devel@archiver.kernel.org; Wed, 29 Dec 2021 06:06:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2WkF-0006nM-Kq for qemu-devel@nongnu.org; Wed, 29 Dec 2021 06:03:48 -0500 Received: from rev.ng ([5.9.113.41]:47987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2WkA-0004Nz-QM for qemu-devel@nongnu.org; Wed, 29 Dec 2021 06:03:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=rev.ng; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Vg7IkxHB0P1ax0ICHLuwCsDrYnHeVtQmCf7bE8J+VkI=; b=wPbeWIZVq6ph5iADlnLEcXvn1T 5uUG3fljNt6l2rBdZRJVjz52sCAMQFue0aZc3cpb+pqPPUdcyeogw5n510mcdreXnExohWe98m72Q Vlc/WzetzeVWC6J3Dfjl3NWKSSoJKfyQ6rm2V9CYMpUlzwtjz6VoL19lnY7N13Gh04ec=; Date: Wed, 29 Dec 2021 12:03:25 +0100 To: Paolo Bonzini Cc: Brian Cain , Taylor Simpson , Anton Johansson Subject: Re: QEMU CI failure of cross-i386-* targets (meson picks wrong glib for native target) Message-ID: <20211229120325.1e593deb@orange> In-Reply-To: References: <20211224113402.6d2d54f9@orange> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=5.9.113.41; envelope-from=ale@rev.ng; helo=rev.ng X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Reply-to: Alessandro Di Federico From: Alessandro Di Federico via On Fri, 24 Dec 2021 22:25:24 +0100 Paolo Bonzini wrote: > Is the configure script setting $cross_compile to yes? That will > decide whether meson getting a --cross-file or a --native-file > option, and consequently whether it treats the host and build > machines as equal or different. =46rom what I can see cross_compile is set only if --cross-prefix is set, which doesn't seem to be the case for most containers (e.g., s390x) but not for i386: tests/docker/dockerfiles/debian-s390x-cross.docker:ENV QEMU_CONFIGURE_O= PTS --cross-prefix=3Ds390x-linux-gnu- tests/docker/dockerfiles/fedora-i386-cross.docker:ENV QEMU_CONFIGURE_OP= TS --cpu=3Di386 --disable-vhost-user I can try to set `--cross-prefix=3Dx86_64-redhat-linux-` but I guess this will prevent certain tests to run (given the cross-compile environment). I'll give it a shot. --=20 Alessandro Di Federico rev.ng Labs Srl