From owner-freebsd-reproducibility@freebsd.org Tue Mar 31 14:08:27 2020 Return-Path: Delivered-To: freebsd-reproducibility@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0BF62A71E5 for ; Tue, 31 Mar 2020 14:08:27 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48sB4g6g1Fz4Qwb for ; Tue, 31 Mar 2020 14:08:19 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f49.google.com with SMTP id k9so21861465iov.7 for ; Tue, 31 Mar 2020 07:08:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=8QxeER9IG+bxmklTlUA2xRRNGpkstMLkEQk6GnxEDTk=; b=YRyNwu8ntlXLpR9LkClhG6Y/mZ+kxWbfkNaH2Y5f7heTnY29cc1ITwslPuUxrDa+xO u691EpfdwhgFTfjAHzjOMYgpkr35E3PXFP47KXzUikKQV0PADU+cJiISdf80KjOq1E2X GPpUp1uh4yfDpIRpUqAsIy1RKzBV3h2gXghsQVQ5vl8qL/+wc8Cwk4Te6UcPYcV3o9Nf rWef6UNrnD/gQPXtSdNUFXu9D77pv+/p1CqGw91tojKoVU6Rmvc4LZVauJ1OL0CJ8adM jVJZxE/bNoiMntSzzTwW50BK1qHH3qTlWOns5jRdhGfOqIZLbOviCdIk+5QAuWsaOhO+ MNDA== X-Gm-Message-State: ANhLgQ0JL6VRexfz6gssa9uIdKfKMIu9FQjPa2w/Sv9UrlYUj1BVhEuo no8kFj1C+EuXiScgnWyvmTvp1IgdzgfdSW0ycPf3f8+v X-Google-Smtp-Source: ADFU+vs+qut5C62+4FQmk+z2U+hk9FvVQV3XRgtHyoNP32m/uWDVZj9VdvL8lXF3LAIFcCBE/T4jvZGd/fCU2H211ug= X-Received: by 2002:a6b:fd08:: with SMTP id c8mr16043195ioi.102.1585663689496; Tue, 31 Mar 2020 07:08:09 -0700 (PDT) MIME-Version: 1.0 From: Ed Maste Date: Tue, 31 Mar 2020 10:07:56 -0400 Message-ID: Subject: Nonreproducible kernel modules on stable/12 To: freebsd-reproducibility@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48sB4g6g1Fz4Qwb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.49 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-reproducibility@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[49.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.45)[ip: (-6.09), ipnet: 209.85.128.0/17(-0.65), asn: 15169(-0.45), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[49.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-BeenThere: freebsd-reproducibility@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions regarding FreeBSD reproducible builds List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 14:08:28 -0000 Originally reported off-list, during a stable/12 freebsd-update build kernel modules are not reproducible and thus get included in the update. diffoscope reports that the .SUNW_ctf section is responsible: --- cam.0.ko +++ cam.1.ko =E2=94=9C=E2=94=80=E2=94=80 readelf --wide --sections {} ... =E2=94=82 [30] .shstrtab STRTAB 0000000000000000 0ea828 0001f8 00 0 0 1 =E2=94=82 - [31] .SUNW_ctf PROGBITS 0000000000000000 0f29d8 00e2ad 00 32 0 4 =E2=94=82 + [31] .SUNW_ctf PROGBITS 0000000000000000 0f29d8 00e2b1 00 32 0 4 =E2=94=82 [32] .symtab SYMTAB 0000000000000000 0e12b8 009570 18 33 1001 8 ... =E2=94=9C=E2=94=80=E2=94=80 readelf --wide --decompress --hex-dump=3D.SUNW_= ctf {} =E2=94=82 @@ -1,3630 +1,3631 @@ =E2=94=82 =E2=94=82 Hex dump of section '.SUNW_ctf': =E2=94=82 0x00000000 f1cf0201 00000000 00000000 00000000 ...............= . =E2=94=82 0x00000010 08000000 96040000 fc250000 f4310100 .........%...1.= . =E2=94=82 - 0x00000020 6aeb0000 78dabc7d 077c54c5 16f7ccbd j...x..}.|T....= . =E2=94=82 - 0x00000030 774b42ca 26b48524 b0402001 02440d10 wKB.&..$.@ ..D.= . ... =E2=94=82 + 0x00000020 6feb0000 78dabc7d 077c54c5 16f7ccdc o...x..}.|T....= . =E2=94=82 + 0x00000030 bb252165 13da4242 586a0204 081820d4 .%!e..BBXj.... = . (And build-ID and GNU debuglink differ as a result.) Running ctfdump and comparing the result shows the issue: --- a 2020-03-31 10:04:39.766567000 -0400 +++ b 2020-03-31 10:04:44.663292000 -0400 @@ -11,11 +11,11 @@ cth_funcoff =3D 1174 cth_typeoff =3D 9724 cth_stroff =3D 78324 - cth_strlen =3D 60266 + cth_strlen =3D 60271 - Label Table ------------------------------------------------------------= ---- - 2407 FreeBSD 12.1-STABLE amd64 1201512 + 2407 FreeBSD 12.1-FUTUREBUILD amd64 1201512 - Data Objects -----------------------------------------------------------= ---- Aside, we should add ctfdump to diffoscope.