From owner-freebsd-arch@freebsd.org Thu Dec 3 07:55:25 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26193A3F2D0 for ; Thu, 3 Dec 2015 07:55:25 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E66D51C21 for ; Thu, 3 Dec 2015 07:55:24 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by ioir85 with SMTP id r85so72884391ioi.1 for ; Wed, 02 Dec 2015 23:55:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=85/ACHSYAOkcYzt/Kh4kprumTncuc8Pwon83qKPVa9c=; b=ZkgtyTXjDm/rwRK6Ks0EYwrYiKY43t8wlghKI3JPNR7bcnlsqQ0u6X1gkD6+Pw4yQh ZzTngcCcZm2LVHLzMAdK3L3r+wbnE0aSks0iD1x0+fd0yoKRxtevHj5QBia41QWad3Ya 8qHpn/yus3tt0Mcw2Q1CFhhMyW7prjAuV47kLNLdaxmSXAec04yRmBxNUdrQWv0u+9Jx ihB/Tuvskme41JJiXgtD1dcHRS7C0dLHUxdI1FjZEwJhTsnS/Ve71TvfAV7uV1W/Y8yN KlqoudbG11jBTM/ml9TMPVdgfUmlA214QHPfVinT0ROCyGVRbY44wrC6FMo+XG3dL83f JCLw== X-Received: by 10.107.30.80 with SMTP id e77mr7676765ioe.180.1449129324170; Wed, 02 Dec 2015 23:55:24 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.169.85 with HTTP; Wed, 2 Dec 2015 23:55:04 -0800 (PST) In-Reply-To: References: From: Ed Maste Date: Thu, 3 Dec 2015 07:55:04 +0000 X-Google-Sender-Auth: qEfMSEAxMWPlUWNbB8LtOIzTY54 Message-ID: Subject: Re: Removing build metadata, for reproducible kernel builds To: Warner Losh Cc: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2015 07:55:25 -0000 On 3 December 2015 at 05:51, Warner Losh wrote: > > I noted in the review that I don=E2=80=99t like the default being no. > > I also don=E2=80=99t like that we=E2=80=99re growing lots of different kn= obs that need > to be set to get a repeatable build. Let=E2=80=99s have one, or barring t= hat, > let=E2=80=99s have one that sets all the sub-knobs. My hope is that we'll have a reproducible build by default, and that *no* knobs need to be set. That's what I intend with my patch. I can rename the knob to WITH_/WITHOUT_REPRODUCIBLE_BUILD though if that's generally desired. If there's a consensus to default to including the metadata I'm fine with setting it in make release. > I think that host and path are more worthless than date and time > in many environments. Who builds it likewise. Those are all things > that are likely to change between builds, yet change the kernel > image. I=E2=80=99d rather see it all gone when this option is in effect. I don't follow -- other than the build iteration number (which I indeed missed), it is all gone.