public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
From: asmadeus@codewreck.org
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Alan Maguire <alan.maguire@oracle.com>,
	ast@kernel.org, andrii@kernel.org, daniel@iogearbox.net,
	nathan@kernel.org, nicolas@fjasle.eu, martin.lau@linux.dev,
	eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev,
	john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com,
	haoluo@google.com, jolsa@kernel.org, bpf@vger.kernel.org,
	linux-kbuild@vger.kernel.org
Subject: Re: [PATCH bpf-next] kbuild, bpf: reproducible BTF from pahole when KBUILD_BUILD_TIMESTAMP set
Date: Sat, 20 Jul 2024 21:12:28 +0900	[thread overview]
Message-ID: <ZpuprMxsR_TIh2gM@codewreck.org> (raw)
In-Reply-To: <CAK7LNAS-pOi5a5vm4y1vPXh7WH_qtPuvnen3hvp9LrAm4+Q2fg@mail.gmail.com>

Masahiro Yamada wrote on Mon, Jul 15, 2024 at 08:19:53PM +0900:
> Kbuild already provides a standard mechanism.
> 
> 
> 
> 
> 
> config DEBUG_INFO_BTF_REPRODUCIBLE

Ah, I thought this was already an existing option but it's a suggestion
for a new one.

With my distro hat I have to say I have no interest in chasing more
reproducible knobs for the kernel -- the current trend in 99% of the
projects is that just setting SOURCE_DATE_EPOCH "just works" and the
every non-default option that is required is work for people to track,
enable in various packaging frameworks, backport to old kernels, update
if it ever changes...

I could understand a new option "toggle everything reproducible"
that would select this, even if it doesn't do anything else right now
(perhaps also complain if KBUILD_BUILD_TIMESTAMP isn't set?), but I
can't say I'm thrilled about a new option pahole-specific that would
have to be individually enabled.

(I guess that means I've just volunteered to add both... perhaps next
year when I find time, for now the distro pahole patch toggling
reproducible if SOURCE_DATE_EPOCH is set will do)
-- 
Dominique Martinet | Asmadeus

      reply	other threads:[~2024-07-20 12:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 17:31 [PATCH bpf-next] kbuild, bpf: reproducible BTF from pahole when KBUILD_BUILD_TIMESTAMP set Alan Maguire
2024-07-01 23:07 ` Jiri Olsa
2024-07-02  7:58 ` Masahiro Yamada
2024-07-02  8:20   ` asmadeus
2024-07-02  9:49   ` Alan Maguire
2024-07-15 11:19     ` Masahiro Yamada
2024-07-20 12:12       ` asmadeus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZpuprMxsR_TIh2gM@codewreck.org \
    --to=asmadeus@codewreck.org \
    --cc=alan.maguire@oracle.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=haoluo@google.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=masahiroy@kernel.org \
    --cc=nathan@kernel.org \
    --cc=nicolas@fjasle.eu \
    --cc=sdf@google.com \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox