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 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 486EFC433EF for ; Thu, 9 Jun 2022 16:07:13 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5EFF3843A1; Thu, 9 Jun 2022 18:07:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=reproducible-builds.org 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=reproducible-builds.org header.i=@reproducible-builds.org header.b="1Ka5ztsu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2613A83E9A; Thu, 9 Jun 2022 18:07:09 +0200 (CEST) Received: from cascadia.aikidev.net (cascadia.aikidev.net [173.255.214.101]) by phobos.denx.de (Postfix) with ESMTP id 63FFB843C0 for ; Thu, 9 Jun 2022 18:07:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=reproducible-builds.org Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=vagrant@reproducible-builds.org Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 9B3EC1AB5D; Thu, 9 Jun 2022 09:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654790823; bh=sdQ4/yOLs57ENz+4+ZFStjzm3We2Pd7NCaZX3XJz7zk=; h=From:To:Cc:Subject:Date:From; b=1Ka5ztsuxA1n71DdNp5aqZ6PRYiQ54KdSsU38diJmXjrzxptbmfdoPEZgU1h/rVgW 0cDVELcLj0ELMRMNirwbT/dSqRvvo/AnPekNp0F4grpWN2ERMynO3DZczGsSmgjFLf l59PCyRz9S8PeOYaezZRCi73NFCVTjuBB3G1W/gRMPVqmDcAzpU2IW6LDFVBG1UyXU MWQlSBijJGv8E1Xa32Pii0GLw+0puqfdKMEjv+pJF6t19mxS6hFeXiKDqBTH++Va+Q 0ZIjMQ7VWbuS6eOpj+jFsLakpJwjsPrSRkCQw4pysHMX+t5kggCbcJ7zGoGAjcszWY qpSf9XlJxjdgw== From: Vagrant Cascadian To: u-boot@lists.denx.de Cc: Heinrich Schuchardt Subject: Reproducibility issue due to use of uname Date: Thu, 09 Jun 2022 09:06:56 -0700 Message-ID: <87ilp9om73.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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 --=-=-= Content-Type: text/plain It looks like u-boot 2022.07-rc1 introduced a reproducibility issue that is dependent on the running kernel. I believe the commit that triggered this issue is: f7691a6d736bec7915c227ac14076f9993a27367 sandbox: allow cross-compiling sandbox While the use of uname in the Makefile goes back well before this commit, previously it had no apparent effect on the builds... When building natively (e.g. CROSS_COMPILE is not set) with a 32-bit userland toolchain, but running a 64-bit kernel, 32-bit arm targets end up with BOOTAA64.EFI embedded in the binaries: https://tests.reproducible-builds.org/debian/rb-pkg/experimental/armhf/diffoscope-results/u-boot.html /EFI/BOOT/BOOTARM.EFI vs. /EFI/BOOT/BOOTAA64.EFI live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYqIaoQAKCRDcUY/If5cW qgYRAQCiid1HiEBor5VGE++YJqWDGo7Xw0pnCYQgJjYyQM1EkAD+L46DL4HUH1bE BBwJeebl37v9yxeCcH0vDXR7V1HO1QA= =7ImA -----END PGP SIGNATURE----- --=-=-=--