From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id AHK9B/F8U2bDGQAAA41jLg (envelope-from ) for ; Sun, 26 May 2024 20:18:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KB7aAvF8U2YxWgEA62LTzQ (envelope-from ) for ; Sun, 26 May 2024 20:18:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jTAs+TGS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716747504; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=l0/KCCgyoeRmaIGKKHGdLrSeZDs4bdlsMpjUdpQNNMo=; b=KHsqYSFU0grJ1YvVeNAnjEAGWd7ChTEF8xLg2vKw/pS+Vv+VqhqvW3E+9ldIaSQ/ClnLpX QpLEnfRlvVSGTmx3vNZbYO884ZiE6kOxJ9g0zuTBQVbmD/3JSm9PdY6xnxGYFQ7ocSdwPS 491yLfcakx7nt5OYeKYz+Rxbh6lltIlfNuZXt8mw0unhd/N3rQttXnH3K9SF3pv+WH1oTC xyyJl1X05XJnkwebbOVsfoQk8zzxnw3rGyGSQZxGp/8igNXqPREE8vd98mUNcUY0x8qPss ihjUgyNPYZplF0YZWA7iBgbBcGViO6Wm2ltmINsQSewncm1JNmsPBG9NYe9NjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716747504; a=rsa-sha256; cv=none; b=Lh6o8O3LRKrM6oaU9/0iSYiVwg6y+cwOBVIHy+ClZlF7XyyDr1VwTBU4ZuP0fuT3i1JYNi qGOJqrR7jxbXEvhczi4Sf+xmeJivGzrlK/wsOHR1aJOKj3kl2Ev0gYJVek30NoAX3Hw3Mz uHDwIR5WL7FEo0ND8OvkLmXTcwhVBPWyeXhMNEHlslk/wmhP3CaGS+4sd27Kq9FIRzz8U/ 9WRYfSY/U/cjyOexIj/+o4oXoyLskV3/9B+v8YoLvYwNG7HRQnHl0p6LVqSYEkkSYI8fs/ KtlNv6E/Mm8kSjBGTiXcY5A5ILEZ7CXGtoe4bNOJDES1UrUamBdmybOsb+hSBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jTAs+TGS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BBDC9B693 for ; Sun, 26 May 2024 20:18:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBIRR-0006Pe-Ff; Sun, 26 May 2024 14:17:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBIRO-0006PF-NN for bug-guix@gnu.org; Sun, 26 May 2024 14:17:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sBIRO-0008VK-Eo for bug-guix@gnu.org; Sun, 26 May 2024 14:17:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBIRW-000217-DB for bug-guix@gnu.org; Sun, 26 May 2024 14:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#70943: linux-libre is not reproducible (regression) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 26 May 2024 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70943 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70943@debbugs.gnu.org Received: via spool by 70943-submit@debbugs.gnu.org id=B70943.17167474397702 (code B ref 70943); Sun, 26 May 2024 18:18:02 +0000 Received: (at 70943) by debbugs.gnu.org; 26 May 2024 18:17:19 +0000 Received: from localhost ([127.0.0.1]:42529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBIQo-000209-SK for submit@debbugs.gnu.org; Sun, 26 May 2024 14:17:19 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:58784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBIQl-0001zs-Te for 70943@debbugs.gnu.org; Sun, 26 May 2024 14:17:17 -0400 Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-df4e1366da6so4745184276.1 for <70943@debbugs.gnu.org>; Sun, 26 May 2024 11:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716747361; x=1717352161; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=l0/KCCgyoeRmaIGKKHGdLrSeZDs4bdlsMpjUdpQNNMo=; b=jTAs+TGSUGSkp7Sg0DDV8jcaG2ME9JGS7i/M8GRJwkJjvyoXTgBehLM/luPIQVekbD 8jkD/EZIkWNtjJvC4gL3RpnI6j/k1ZqpYo9T9yhOWTgt7uz2+OLfAALQE26Pn2You8Cg obZ8CHfbZfLuBja0YCKTytC/qbtBVXvtP8ih6dzbAF8m5t/Gm6/Wr/X3qehboJZByjUa cOgZC2Y3++fSbtxkLCTQ/NiIcev3TgSp3U2IX15U2ECH9pMzf4zRgNFoVkWvcaAxHqBG uPbnRQNmB1eoVQ7JONd5g9lsVldUa1YZs9eblYWpoBIQNH4homhPD20IdSY//pe7pa9r pONg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716747361; x=1717352161; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=l0/KCCgyoeRmaIGKKHGdLrSeZDs4bdlsMpjUdpQNNMo=; b=LvTOTKDMUeyXd3G9F1yepfxJuFbTqa1wswwlx1vfNd4v+9h3Ehpdwf3WIrafjRfZed EpH2fuJaBZ2DOzf+d8ySsQR4oU4aKdkE6xcVdr7sCkLYqZkm2+YuQ8cfY0b0anhA0kSE wvF/kVMr868Hzi5CXG/wPTjhqv05D3jxIF+Sai4vW/4BWFZPTbM4MuNdPLz8COpADsxm gAuRYAdSD+jVyOLmKR0aTEfbOHkOmEwUkExWajbdzJmlWm+bOPPC0Rejo6Z1Qt8RklzZ jBhhMouQrjMUgr88InEv9kRwTAasx5QwHVHI5Z3pX1Fgy5JTrd2lkYV+wOJFUZjoApUO Pzog== X-Gm-Message-State: AOJu0YzyydT7cZozjAtzubOQEDGHZpHpmVzqa23FW8y41AIWLh+0oJVI 2y0XqzgGp2vRqFE8C/jMv0mbUTityJs6LPtYPdJXN24cQEZ+TSTli5zzVrd+ X-Google-Smtp-Source: AGHT+IGpRMAuz3pb7QlmcElUQRFfGVVPhVP22rQY1nP/jFh5UPYQKK8ijcyI4oEIKLWPKv3Grk1XfQ== X-Received: by 2002:a25:aa82:0:b0:df7:71b7:c353 with SMTP id 3f1490d57ef6-df772222ea6mr8047393276.51.1716747360829; Sun, 26 May 2024 11:16:00 -0700 (PDT) Received: from hurd (dsl-153-139.b2b2c.ca. [66.158.153.139]) by smtp.gmail.com with ESMTPSA id af79cd13be357-794abd08f5asm239885985a.89.2024.05.26.11.16.00 for <70943@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 11:16:00 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87a5ksz9jg.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 14 May 2024 11:40:35 -0400") References: <87a5ksz9jg.fsf@gmail.com> Date: Sun, 26 May 2024 14:15:59 -0400 Message-ID: <87o78sh21s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.24 X-Spam-Score: -2.24 X-Migadu-Queue-Id: BBDC9B693 X-Migadu-Scanner: mx11.migadu.com X-TUID: 2hKI/cScpDWm Hi, Maxim Cournoyer writes: > Hello, > > I've investigated non-determinism in our linux-libre package, which > sadly appears to have regressed in that regard since I last looked into > it 3 years ago (see commit 01ea70a29c5c1ded31c37ce8c43192bc1956b2ca > ("gnu: linux-libre: Make build reproducible.")). > > I'm currently seeing these differing files: > > $ diff -ql /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9{,-check} > Files /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/bzImage and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/bzImage differ > Common subdirectories: /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/lib and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/lib > Common subdirectories: /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/share and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/share > Files /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9/System.map and /gnu/store/6vx6vkranmggv690ggm79zhdhwvmbji9-linux-libre-6.8.9-check/System.map differ > > I'll take a look at what Yocto does differently, if anything. I didn't see anything special, although some BPF switches got turned on in the kernel by default in newer 6.X releases, and BPF appears to introduce non-determinism, accordingy to the Reproducible Builds website which says this [0]: Several distributions noticed recent versions of the Linux Kernel are no longer reproducible because the BPF Type Format (BTF) metadata is not generated in a deterministic way. This was discussed on the #reproducible-builds IRC channel, but no solution appears to be in sight for now. [0] https://reproducible-builds.org/reports/2023-04/ So it seems there'll need to be some reproducibility work for that feature in the kernel before it can be resolved (we could also disable all BPF features, but that seems counter-current at this point in time). -- Thanks, Maxim