From patchwork Mon Feb 28 16:11:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12763521 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.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 smtp.lore.kernel.org (Postfix) with ESMTPS id 2C7C8C433EF for ; Mon, 28 Feb 2022 16:12:20 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.280680.478711 (Exim 4.92) (envelope-from ) id 1nOicy-0007YU-35; Mon, 28 Feb 2022 16:12:00 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 280680.478711; Mon, 28 Feb 2022 16:12:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOicy-0007YN-06; Mon, 28 Feb 2022 16:12:00 +0000 Received: by outflank-mailman (input) for mailman id 280680; Mon, 28 Feb 2022 16:11:59 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nOicx-0007YH-0u for xen-devel@lists.xenproject.org; Mon, 28 Feb 2022 16:11:59 +0000 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.111.102]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 26c9b2e7-98b1-11ec-8539-5f4723681683; Mon, 28 Feb 2022 17:11:57 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04lp2054.outbound.protection.outlook.com [104.47.13.54]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-36-3EmJ1TVfPHmw579lCpig-g-1; Mon, 28 Feb 2022 17:11:55 +0100 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by AM6PR04MB5013.eurprd04.prod.outlook.com (2603:10a6:20b:3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Mon, 28 Feb 2022 16:11:54 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::d479:b728:345c:bd65]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::d479:b728:345c:bd65%6]) with mapi id 15.20.5017.026; Mon, 28 Feb 2022 16:11:53 +0000 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: 26c9b2e7-98b1-11ec-8539-5f4723681683 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1646064716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=usePhEfemX5hy7zllvdwphaC1o+xYGJFNEu6k5DquK4=; b=ms5R7eRqQbF5s4LaMeMjjhl6G8pNPW4Cla87ED5P5ssKShkqnITtM99zsASLsR+QBDYXK2 AG7e22SyBal/tybZoK4lw8IEkwFYFFeXqCQAk/hvblpIusUfudwUACy2hUCeOH5qrJaI1q QpgUym3KQYsVK3LJ5aqYY15955Kbqts= X-MC-Unique: 3EmJ1TVfPHmw579lCpig-g-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LGGTb4WyNt1LVViqmFMuN3VPf25AB/13s3qIpoOKqEAQawqkRC6XO+0Rd6BI2XIL2VwuaKp3y2bBeozqZNx40169Q67hQg3twJHODcXA6rjcP8lUGVR/7/ozKCJwRmBb0QGvAuFC2FdM67ZKFUsDcPKjaYUbtcxdeaTTcFec6hB4aKMF1bsRIqnqCpQoDwmQ0VHjgFKlHH29L0FamoIuK/HU9RjLoLwiN3ITShRViXE0M+6LgnNeAtnYP2lODLFuwrPK/D6WDGP8Lh8HThWNzLmOlPt7o7OiLE70whqUwkVv3mO600xpZnxInOZb1utp6qZEdGrrD/UAHoNxWsEROg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=usePhEfemX5hy7zllvdwphaC1o+xYGJFNEu6k5DquK4=; b=T+hxd5k/H6Ylp+vdXw13J6PDyZb9ew+Il7afiKBWKCwJWIxLzEVQywEhDgrRUdBjnrprRLirYXBTTPuJ3tQS7jvSRsbVX2EWtHaNCO6flJ/r304zVViWTlkogx+z3PDs8yrIFy6m0IAEeZ4cxVXqJz6gIiUPOBJndfBoRfhXU8i/jafhEpCkvLlvtgnQUZ3y/5KevWhc0Yuc3xAFziH3BFgUNGUlDBJfpnCManalN/uhsiXAv9zc3HLeq5fUkk8c720HfUr0W1KFZ6vBFwxmFPBhiMn4a7n8KcgJ9y6WFohTyumj08iECsUNZtR2mndbadGGPp9ZUyHXFsu+7DmRDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: Date: Mon, 28 Feb 2022 17:11:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , George Dunlap , Julien Grall , Stefano Stabellini , Wei Liu From: Jan Beulich Subject: [PATCH] build: export potentially overridden tool chain components X-ClientProxiedBy: AM6PR08CA0046.eurprd08.prod.outlook.com (2603:10a6:20b:c0::34) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cbac6bf2-6acb-4c42-85d1-08d9fad5090d X-MS-TrafficTypeDiagnostic: AM6PR04MB5013:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W08jzayvsGHQEl2cFmN2RZ6zYjufmIr3JGqNNchEB5NkEUTTlfzFGeRnmsrSGRLHIx86TIlqYmHpctD7KExWY99KZtLtIaVbabVhs0hFdfka4qkZBPo9M57nhQpGQTXv2Bqmmm1U4xGeyyROUonG5l2u0Dp8xlWu+9aqvwpPiyzU2htTmT2rYjqpugf0uMvL1h+7/P+Eub7OPaKoX24SbTsXl2AXu7r7J/2iinoeg7kl8bR9gW8o93RbMyLGPAiFkIglMpaXAnhlgETiBdBGcwv32AZ7AFMervrXGY5XzAuE7YngOIkbTGE+0FjXG6B4kToXQHIMgltXq0bOTQrkJ5iuVTKcJy6wVFSomz1N145DnSJ8aXIyimHxJ6dTUYt17vTxU5Y0xE27a45lmu25i3nqR+UPC+XRWdQ7X3W70zVx0yCMyab1XvZuBllKBL1lKEqfOUYboapF3wAOkhEBQJy83E6mBIo8LT1lbqfBKfM2lOwdWsl+4Ig3C2sLE3SUSdO+kx3xxxwsq8me7191RLfAvELvXbhNLxoyBjxlpGGRVgBkaVVtqci2z/FphT7qe/Tmuwg6MsySruBzhLICR/6ZditWh9lzsb3a82HYBv5/0o1fTYtFXBtuXT+gc+cFtb2pa/XK/xtavsJulcfjTh8FKA16HRJTAsR0rKlEh+WRj+iGs4X01U+0ouLRTtDmDIxa/4uXt3PPpfYoUrxZm8wv7ZXUksg+vwRwYMebfvw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(86362001)(6512007)(6506007)(36756003)(6486002)(508600001)(8676002)(31696002)(2906002)(5660300002)(66556008)(66476007)(83380400001)(4744005)(8936002)(31686004)(66946007)(38100700002)(186003)(54906003)(26005)(2616005)(6916009)(316002)(4326008)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?OPtFgtX616iWWPNhNcq5zXbQn/dk?= =?utf-8?q?62Fs4lvHs9Ik9pUVF2oJNlNl4xFXNrP4gL9GNNv1D1rYlgZy6e5b3WpR/PW///xTp?= =?utf-8?q?13wVgmvmGQ/+kbYdf7KO9hYbghoWSDoyEQ8mzxwUD4inhJoLLJaushPDGHRZDQfFy?= =?utf-8?q?sn+clQXWEUVr7w+43A5gBULGR28znPQ32Kw89Wxjz0AhRAnPbEu0J85EJSSL+TGU6?= =?utf-8?q?k9FoqMlFBVZ1aScZgdQlAsoifuI8EeVbefP1wFYzh8O0zSnHmlDf/5Ee6PZQ6HXxP?= =?utf-8?q?5yJoQGj2oEskKbfKMgzVjkyynwVU5SXB2SoAnF8DppdW2S+wpHScS9sk7WDx9xqHT?= =?utf-8?q?wJsjHDcdnwFY2lywJNPYa370eY2y+woU/yeTvyCymDVATV00ScYPzpb4lj6gM5ntB?= =?utf-8?q?fE0qilMNqpeaYh828VOTdzygfpUxL5zfKZZDIzjG6cOhtJy1OiU0zvqNLUzv3Osky?= =?utf-8?q?8xoMKNYo9nwRfIsEcJ0qjM8BtA45drcwp5OmtvO5aPZYpIIexpmKBblJBrWn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?q?9/1Apwwkx3OPlEdNMAYouBRlyfEULRaar7Da0gqKJCd/buVv8FL88wZTsplY3o/oe?= =?utf-8?q?vcci65q3Wkzj60zdmAWg281Qf9kGRsGBjs5ON6NCTWZLNRGwaIL1xXRegfIXn3C3Y?= =?utf-8?q?e09p68JW8x1Ihar34CsTowC3rp2hc7BtMM9BdK7G08GDYc4GeahOwKk=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: cbac6bf2-6acb-4c42-85d1-08d9fad5090d X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2022 16:11:53.8838 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kB9QL4Ysf+q2x0kNWMrWdKkwMhSJtHXz+cuGYbW3dEvrfM22br5GIObioRj/n7uilWdTOhd3z6oZt2/EOwZETA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5013 When overriding the tool chain via CROSS_COMPILE, the resulting components need to be made available to, in particular (but not limited to) the check-endbr.sh script. Note that we don't allow overriding ADDR2LINE yet; this would first require additions to some config/*.mk before it would make sense to export the resulting variable as well. The lack of NM exporting was apparently not a problem so far, but add it at this occasion as well - we're using the tool, after all. Fixes: 4d037425dccf ("x86: Build check for embedded endbr64 instructions") Signed-off-by: Jan Beulich Reviewed-by: Bertrand Marquis Acked-by: Andrew Cooper --- a/xen/Makefile +++ b/xen/Makefile @@ -55,7 +55,7 @@ export TARGET_ARCH := $(shell echo $ # Allow someone to change their config file export KCONFIG_CONFIG ?= .config -export CC CXX LD +export CC CXX LD NM OBJCOPY OBJDUMP export TARGET := xen