From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F6C1606C5A3 for ; Wed, 4 Nov 2026 21:26:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=buildroot.org header.i=@buildroot.org header.a=rsa-sha256 header.s=default header.b=D4XQDEBW Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 487814084B; Wed, 4 Nov 2026 21:26:17 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DYqV8mGJ6CTV; Wed, 4 Nov 2026 21:26:16 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 479C540801 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1793827576; b=F+YsiuH0SWMIyU7BI+cQVRaxhy70H9u+Uea1w7tI8/sn/hxXStnMFwddblio9GtxgZa0 WM6wGG72lLIzEzQPR6TtYLOgTIMlQyjk5y7BexDdKeYVpWEG+w4UG8kxAxmx5Ubk02uGE QSa7ErNn7RS+cYU6T/aFjEBYNvbImI3MRO2MG2/RBu3BmoHhVJaW7ssg6Pme+SWk4EOyG qgWAHDsMMtIwG+3dBsa3kN1RXD7ecO+ah4xnTe8IbC+wCCmz0Akhz6Qb0DJtvGGYBfY/5 U1yUlBe/Yhw4BwPwfos6bYaBptIFU78OihG8f1P1hZGlKigIGW2Nfiu1E6ZBQU0xOVA== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1793827576; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: Received:Received:Date:To:Cc:Message-ID:References:MIME-Version: Content-Disposition:In-Reply-To:X-Last-TLS-Session-Version:Subject: X-BeenThere:X-Mailman-Version:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: Content-Type:Content-Transfer-Encoding:Errors-To:Sender; bh=IdstPyQIDg8JFMdavATqwd8zG5w5/j1/L24maEx0jgI=; b=dkMkwg6rwFu5JRngYnz1RtxPQydoHwT/UFqibHNyv/Ny/T8HQh4bRWidlin69e7nRDem lRf8q/6gY0stmVjzSPsU44dubQ2wMoYGVsaJZMkozguuLPzpxyAdRgjOUEe4WsygCbfAp 72ja0bqx0fxde6zkSLLu6oksXAX9vMF58GshV2H4ziBo/9cCKg1noUvY57tSNSDlbbxDV NKpPSvn6p6FSrcgC3Mcrum4FNDT7KkDWWY8CGMwKYNXnA1h+7hGsiu84PFM3yMWXVlFTM O5jjqv+AtdTJy2wp1NPKPgLDV77wn9Mb1G/OlF3MRssZ0X3At/HqBkIK3I+6K4R3rIA== ARC-Authentication-Results: i=1; smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1793827576; bh=IdstPyQIDg8JFMdavATqwd8zG5w5/j1/L24maEx0jgI=; h=Date:To:Cc:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=D4XQDEBW1ZZ611VetwFsBBJRazzQR+HOwQmB9ePt60rhgs3+onlBSrtqtZsiJfqLW +whvarFrpgzeLmyI2kzvrycJS3Iuj3rzv2a2hT5ldjm/SM1HqLpgRchoaV9bnvDcy1 m+JHBmbU75wGzUmXOuw5UM2pdQYWO8VfGAZjU5enFkuYbl0sgY+C0W+1l59+LKWvfA RLXkd/wmzOC33XadxN5pM1GulrNprpfpTmeFpnryeZ59Hgxo/r0m7+N13QGxOMJnIf dAZTJWVKvfeKXdjmhF8tDfpgaspXjOmK3fYukc21ZjV/5FYnmZavjMhkKRyAmDUJau LhsScyMSeztcw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 479C540801; Wed, 4 Nov 2026 21:26:16 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id 83F95177B for ; Wed, 4 Nov 2026 21:26:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 69B8E406DA for ; Wed, 4 Nov 2026 21:26:14 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id h1V3_HZ6eiH4 for ; Wed, 4 Nov 2026 21:26:13 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 2A60F40294 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.246.84.56; helo=smtpout-02.galae.net; envelope-from=thomas.petazzoni@bootlin.com; receiver= Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 2A60F40294 for ; Wed, 4 Nov 2026 21:26:12 +0000 (UTC) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id B853F1A0666 for ; Wed, 4 Nov 2026 21:26:10 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id BA8095FDD4; Wed, 4 Nov 2026 21:07:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B8EA410329248; Wed, 4 Nov 2026 22:07:44 +0100 (CET) Date: Wed, 4 Nov 2026 22:07:44 +0100 To: Yegor Yefremov Cc: buildroot@buildroot.org, Pascal de Bruijn Message-ID: References: <20261104082735.4134892-1-yegorslists@googlemail.com> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261104082735.4134892-1-yegorslists@googlemail.com> X-Last-TLS-Session-Version: TLSv1.3 Subject: Re: [Buildroot] [PATCH] package/linux-tools: hv: fix build on non-x86 build hosts X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Petazzoni via buildroot Reply-To: Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "buildroot" X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, Nov 04, 2026 at 09:27:35AM +0100, Yegor Yefremov wrote: > Since Linux 5.4, commit 9b5434196529 ("Tools: hv: move to tools > buildsystem"), the Hyper-V daemons are built with tools/build, which > first links the objects with "$(LD) -r". We only pass CC to the hv > build, so LD defaults to $(CROSS_COMPILE)ld, i.e. the build host's > plain ld. That only works by chance on x86 build hosts, whose ld > handles i386/x86_64 objects; on an aarch64 build host it fails: > > LD hv_kvp_daemon-in.o > /usr/bin/ld.bfd: relocatable linking with relocations from format elf32-i386 (hv_kvp_daemon.o) to format elf64-littleaarch64 (hv_kvp_daemon-in.o) is not supported > > Pass LD="$(TARGET_LD)", as already done for rtla. > > This issue has been present since commit 2703383c7201 ("package/linux-tools: > add hyperv integration services"), which added the hv tools while the > supported kernels already used tools/build for them, without passing > LD. It therefore affects 2020.02 and later, including 2025.02.x. > > Fixes: > https://autobuild.buildroot.org/results/86c33797a5f09dbb1162a554cb6019f7c0702fbd > > Fixes: 2703383c72011d38a1e3559cb7a5a2b0071b35c6 ("package/linux-tools: add hyperv integration services") > Assisted-by: Claude:claude-opus-5-5 > Signed-off-by: Yegor Yefremov Applied to master, thanks! Best regards, Thomas Petazzoni -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot