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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6628BC433F5 for ; Thu, 4 Nov 2021 16:14:02 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1C3A56120D for ; Thu, 4 Nov 2021 16:14:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1C3A56120D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.221704.383541 (Exim 4.92) (envelope-from ) id 1mifN6-00011c-5F; Thu, 04 Nov 2021 16:13:48 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 221704.383541; Thu, 04 Nov 2021 16:13:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mifN6-00011V-2L; Thu, 04 Nov 2021 16:13:48 +0000 Received: by outflank-mailman (input) for mailman id 221704; Thu, 04 Nov 2021 16:13:47 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mifN5-00011P-3i for xen-devel@lists.xenproject.org; Thu, 04 Nov 2021 16:13:47 +0000 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [2a00:1450:4864:20::32c]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2fde72fe-3d8a-11ec-9787-a32c541c8605; Thu, 04 Nov 2021 17:13:46 +0100 (CET) Received: by mail-wm1-x32c.google.com with SMTP id b184-20020a1c1bc1000000b0033140bf8dd5so4636764wmb.5 for ; Thu, 04 Nov 2021 09:13:46 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q84sm11381522wme.3.2021.11.04.09.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Nov 2021 09:13:44 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E88A41FF96; Thu, 4 Nov 2021 16:13:43 +0000 (GMT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2fde72fe-3d8a-11ec-9787-a32c541c8605 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=QweRTtvGwADMsXTr1xaN3Kxa62JgHzc3jVnoh96Liqg=; b=CqCkuoc+TbTnyzP5LV9xx4zuvUP5vKRvx4+lI0AsrJUADBoiiHImcWZTrhZCJCBLwi 7pDQ70OkhLRrVATjrrF+Q88zaANuotd1Q4AwM99pqW68kRQzAkTfuGPr/9lCaPlO2T+U n9K+W6yD0FMmS9VrPwGhpeViqiCYS3sH69dwc7+hwrwOcmKbGGUkeTC/VrMCbNX8dNsa nPhQHrMwXw2nvu2vwPzDjujjOVxc8LWSWKa8z8DMRJYra/QTYZHfwVWYBUbPbCPdMCsd yQfAuNd22JCnqp4vxY/QXR7g0Xj8ns447Hcd0xaWJO6YP/dWYOp4XN2rGKr6EQ68D26j XXGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=QweRTtvGwADMsXTr1xaN3Kxa62JgHzc3jVnoh96Liqg=; b=fjbYABDZMOtWT92m13RHgJp41MgM3Ae699WkEsNIgMX4SKB1g8c3UWNWXkxVphEsJl SJ81/OhJJbiqysJSHZkij458qo9g2Gh2Jd2ZriKMtfIoZ6kzxZqC9Ec2IMbTEi6EYH58 OA5Yrn6EoYumK0tna+28YaMdQE/YaEeLTnvwNsAuzHIdLQ6phTWCeTzXE3iWs5+LnU4w R2KQ+Er/FnFDspCp/X30uJNtJd/qZBZwCBk5MWQo6Lal92RuIiMWhKjJrrWYjaCi7iu5 eubaXxd+lp7VoIOSBxt89qtXX4SiwriK8StXSLTxu8u0OAlkpBcUfMo8VFJJcgt03nX8 OPew== X-Gm-Message-State: AOAM530h/aod3U9/36xS1WoL8SnUYW82LkQNT8eabWAkm6xWU1ThUTgA MKhgOrJaq7ymwlkZm2jo2+ZU/A== X-Google-Smtp-Source: ABdhPJwe00CHw7UMoKWE6I9J9OGWAhW6QOqL4ETWy6bJnlNiej+OHH1jTwx5z/Ofqk+s49nl7oMbWw== X-Received: by 2002:a1c:f31a:: with SMTP id q26mr24179035wmq.148.1636042425632; Thu, 04 Nov 2021 09:13:45 -0700 (PDT) References: <20210824105038.1257926-1-anthony.perard@citrix.com> <871r3vkiok.fsf@linaro.org> User-agent: mu4e 1.7.4; emacs 28.0.60 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Anthony PERARD Cc: Roger Pau =?utf-8?Q?Monn=C3=A9?= , Kevin Tian , George Dunlap , Ian Jackson , Connor Davis , Bob Eshleman , Alistair Francis , Tim Deegan , Jun Nakajima , Tamas K Lengyel , Doug Goldstein , Jan Beulich , Konrad Rzeszutek Wilk , Julien Grall , Alexandru Isaila , Stefano Stabellini , Ross Lagerwall , Petre Pircalabu , Paul Durrant , Daniel De Graaf , "Daniel P. Smith" , Volodymyr Babchuk , Wei Liu , Andrew Cooper , Lukasz Hawrylko , xen-devel@lists.xenproject.org Subject: Re: [XEN PATCH v7 00/51] xen: Build system improvements, now with out-of-tree build! Date: Thu, 04 Nov 2021 16:12:24 +0000 In-reply-to: <871r3vkiok.fsf@linaro.org> Message-ID: <87wnlnj3uw.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alex Benn=C3=A9e writes: > Anthony PERARD writes: > >> Patch series available in this git branch: >> https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.buil= d-system-xen-v7 >> >> v7: >> Out-of-tree build! >> >> This mean many more patches. Everything after patch 27 is new. >> >> There's a few new patch before that, but otherwise are rework of >> v6. > > This is something I've been looking forward to but obviously my QEMU > focused mind meant I did it wrong. Generally I create a builds subdir in > my tree with subdirs for each build flavour. So with: > > > In "build: adding out-of-tree support to the xen build" you describe the > Linux kernel style which works well where the config can be done after > the fact but I wonder if the configure approach is better suited to > something that needs a bunch of checks running. Is the configure script > pure autoconf? This should work out of the box IIRC. FWIW doing it the make O way: =E2=9E=9C pwd /home/alex/lsrc/xen/xen.git =F0=9F=95=9916:12:54 alex@zen:xen.git on =EE=82=A0 review/build-system-v= 7 (AM) [$?]=20 =E2=9E=9C make O=3Dbuilds/native/ make -C xen install make[1]: Entering directory '/home/alex/lsrc/xen/xen.git/xen' make[2]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/nativ= e' make -f /home/alex/lsrc/xen/xen.git/xen/Rules.mk obj=3Dtools tools/fixdep make[3]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/nativ= e' make[3]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native' GEN Makefile make -f /home/alex/lsrc/xen/xen.git/xen/Rules.mk obj=3Dtools make[3]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/nativ= e' make[3]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native' make -f /home/alex/lsrc/xen/xen.git/xen/Rules.mk obj=3D. include/xen/comp= ile.h make[3]: Entering directory '/home/alex/lsrc/xen/xen.git/xen/builds/nativ= e' BANNER .banner error: could not load font /home/alex/lsrc/xen/xen.git/xen/tools/xen.flf make[3]: *** [/home/alex/lsrc/xen/xen.git/xen/./build.mk:12: .banner] Err= or 255 make[3]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native' make[2]: *** [/home/alex/lsrc/xen/xen.git/xen/Makefile:539: xen] Error 2 make[2]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen/builds/native' make[1]: *** [Makefile:176: __sub-make] Error 2 make[1]: Leaving directory '/home/alex/lsrc/xen/xen.git/xen' make: *** [Makefile:136: install-xen] Error 2 which is odd because I have a "apt build-dep xen" and figlet installed on this system. --=20 Alex Benn=C3=A9e