archive mirror
 help / color / mirror / Atom feed
From: se iro <>
To: Miguel Ojeda <>
Subject: Re: leaky info and kernel modules
Date: Thu, 8 Apr 2021 04:38:06 +0200 (CEST)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

you mention debug but this is building release mode not debug which is why it odd.
and yeah if these paths exists its not reproducible as they different for everyone else. steve k commented on reddit and said he thinks so long as build process is same its reproducible, not that hashing matching is require. rust team may have differ opinion on what reproducible builds are too which affect this like you say

> ----------------------------------------
> From: Miguel Ojeda <>
> Sent: Wed Apr 07 23:50:54 CEST 2021
> To: se iro <>
> Cc: <>
> Subject: Re: leaky info and kernel modules
> Hi Se Iro,
> On Wed, Apr 7, 2021 at 11:03 PM se iro <> wrote:
> >
> > saw post on reddit and github issues where rust compiler adds username and systems paths/info to **release** mode compile bins. also its pkg mgr cargo does the same with registry paths. otherwise its extra strings bloating output that not needed and strip command doesnt work. also not working is compiler opts described
> >
> > does this impact chat of rust in linux since rust team seems to be ignoring the issue?
> Yeah, Rust is adding few strings with paths (at least ~4 KiB from a
> quick test in my case); while a non-Rust kernel, in-tree build without
> `DEBUG_KERNEL` does not seem to contain any absolute paths (although
> please note that kernels typically contain your username/host anyway
> unless you tweak `KBUILD_BUILD_*` etc.).
> So while I don't think it is that critical at the moment, any bloat
> that can be reduced (e.g. those paths could be relative) is always a
> good idea. It is also good for improving reproducibility of builds
> etc.
> I will create a quick issue about this.
> Thanks!
> Cheers,
> Miguel

Sent with
Secure and private email

  parent reply	other threads:[~2021-04-08  2:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 14:22 leaky info and kernel modules se iro
2021-04-07 16:50 ` Geoffrey Thomas
2021-04-07 21:50 ` Miguel Ojeda
2021-04-07 22:12   ` Miguel Ojeda
2021-04-08  2:38   ` se iro [this message]
2021-04-08  6:35     ` Miguel Ojeda

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:

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

  git send-email \ \ \ \ \

* 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;
as well as URLs for NNTP newsgroup(s).