From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD89D23EA94; Tue, 14 Apr 2026 04:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776141819; cv=none; b=jdt7ISAmXiIcieIdztAHfqdnM49Edo1vUgo8HtehyTClF53VNt1FSjLfrDURw7N1fBcB3lVMcxkZzzWGyr3ZzdSToSEyuWtoPJbGLrvLpKU3/ULBF3jFRcl/2rEAWUaluE8aCuVuwXpkHe88y4q5EnoDyfG8fgt9mtMohoEw74Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776141819; c=relaxed/simple; bh=+J0wT33uWs58615RiPJliU5RApbkJLZCNH0GJDizfKI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PCVF1J4+c7tMsjd1I1o/s/xbyizlZ+Kv1Qz5k5RVPWavLzMEWQ/t0Zv6bIEx30V2Gzwdi2K/tQr/dHM1CP6p2slti7N4unwu9VivWTQ+L8dZAt0msvDG0juJpCtE7FeoQkiJ+8NbbC9xinxcVNsniNkrd65OBI3lC2dI/ED3fuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gCz4wOuN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gCz4wOuN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2856EC19425; Tue, 14 Apr 2026 04:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776141819; bh=+J0wT33uWs58615RiPJliU5RApbkJLZCNH0GJDizfKI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gCz4wOuNujQotcRKIhE7LD3tsDQhG4lpMcQfip3aqFRFkHu3ubAEObNt+RL+5wZGt 9y0z228xonbvYgr2HK9gquAhfDqixCWX9sCyXBykFcKFKAyvLUh0+TVL34OEaMLWQB ZXbKQzatTPG+le7kTy9cuMZTlKzYkzZgrjx+FoAsE1i6Z4uirpNYNnT28BAdMD/w0n pF/wchTybidtueV8dxQdECn4nBZy9+Uvo9ZOP7u7jlNY5RNKWHBLs0Tx1/CU6+94qY IMxG4MYPbHoi2eAbX+Ug1kUnHavJM7wOxe16dcoxu1L/k8tO7Vk22IYMAc3gQ49n8T sxoEOlCnUhwng== Date: Tue, 14 Apr 2026 04:43:37 +0000 From: Wei Liu To: Aditya Garg Cc: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, longli@microsoft.com, gregkh@linuxfoundation.org, ssengar@linux.microsoft.com, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, avladu@cloudbasesolutions.com, vdso@mailbox.org, gargaditya@microsoft.com, Roman Kisel Subject: Re: [PATCH v3] tools: hv: Fix cross-compilation Message-ID: <20260414044337.GB2787213@liuwe-devbox-debian-v2.local> References: <20260409103218.367589-1-gargaditya@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-hyperv@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260409103218.367589-1-gargaditya@linux.microsoft.com> On Thu, Apr 09, 2026 at 03:32:18AM -0700, Aditya Garg wrote: > Use the native ARCH only in case it is not set, this will allow the > cross-compilation where ARCH is explicitly set. > > Additionally, simplify the ARCH check to build the fcopy daemon only > for x86 and x86_64. > > Fixes: 82b0945ce2c2 ("tools: hv: Add new fcopy application based on uio driver") > Reported-by: Adrian Vladu > Closes: https://lore.kernel.org/linux-hyperv/PR3PR09MB54119DB2FD76977C62D8DD6AB04D2@PR3PR09MB5411.eurprd09.prod.outlook.com/ > Co-developed-by: Saurabh Sengar > Signed-off-by: Saurabh Sengar > Signed-off-by: Aditya Garg > Reviewed-by: Roman Kisel Applied. Thanks.