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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16B33C433F5 for ; Wed, 18 May 2022 15:46:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D4B518428C; Wed, 18 May 2022 17:46:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="zKw5dtbF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3DC3C84294; Wed, 18 May 2022 17:46:01 +0200 (CEST) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6FFD284278 for ; Wed, 18 May 2022 17:45:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=1137e84e22=patrick.delaunay@foss.st.com Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24ICbCLV025996; Wed, 18 May 2022 17:45:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : to : from : subject : content-type : content-transfer-encoding; s=selector1; bh=sdFDqJi3NLud+zN/xVvDaB6yvBakgkDc8fbfkv0Jzqw=; b=zKw5dtbFBIvXvs7gdlYIdAeX15JWqEZFOTZKALReeEtQdXgaxxKfh1DsE+6Gof17wUZI Cu6W5rp8UiQHI99CIFxISz4zAGyYM1WuuLcZRtNvpL8AR1np2WpZUIe82DSlmP4+71eM 25P1e4bF8klOjK6XwMVxXrjUO8grpagKJj/AZu7G+Q8HQ3QlsAqu/smWMvRoVP7BHr1I HyOIUc97hukDmpItMVaXnh+6BtAtTVk8ePkysfvONygK3PKiubS+iON1B0WOtbkvRU1S MeWuf+ZXZ0xWSAg1E2YTT9tWK65mhm6lOYWzhLAZycojbVwz2rDNoaozHFQDxcV9SxuZ vw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3g21j9308c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 May 2022 17:45:56 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C808A10002A; Wed, 18 May 2022 17:45:55 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C07302278AD; Wed, 18 May 2022 17:45:55 +0200 (CEST) Received: from [10.48.0.213] (10.75.127.51) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 18 May 2022 17:45:55 +0200 Message-ID: <2ad1927f-5683-23ce-0b0a-b47fc3891330@foss.st.com> Date: Wed, 18 May 2022 17:45:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US To: Simon Glass , U-Boot Mailing List From: Patrick DELAUNAY Subject: buildman failed on v2022.07-rc2 with toolchain-wrapper option Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-18_06,2022-05-17_02,2022-02-23_01 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Hi Simon, It seems the buildman option toolchain-wrapper is no more working since v2022.07-rc2 => with the lines in ${HOME]/.buildman :     [toolchain-wrapper]     wrapper: ccache I have compilation error for some ARM target with EFI support, for example for stm32mp15_defconfig. Tests in include/efi_default_filename.h are introduced with commit 4e65ca00f3a3 ("efi_loader: bootmgr: add booting from removable media") for examples:     #if HOST_ARCH == HOST_ARCH_X86 but ${HOST_ARCH} is empty. The issue occurs because when CROSSCOMPILER="ccache arm-linux-gnueabi-" in Makefile, MK_ARCH have invalid value and thus HOST_ARCH is empty... The issue can be avoid with the dirty patch: ----------------------------------- Makefile ----------------------------------- index d394340221..3999bbcd71 100644 @@ -21,7 +21,7 @@ include include/host_arch.h  ifeq ("", "$(CROSS_COMPILE)")    MK_ARCH="${shell uname -m}"  else -  MK_ARCH="${shell echo $(CROSS_COMPILE) | sed -n 's/^[[:space:]]*\([^\/]*\/\)*\([^-]*\)-[^[:space:]]*/\2/p'}" +  MK_ARCH="${shell echo $(CROSS_COMPILE) | sed -n 's/ccache//;s/^[[:space:]]*\([^\/]*\/\)*\([^-]*\)-[^[:space:]]*/\2/p'}"  endif But I solve only the issue only for "ccache" wrapper ! Do you think we need to remove this option in "toolchain-wrapper" buildman ? Patrick