public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: "Martin Liška" <mliska@suse.cz>
Cc: dwz@sourceware.org
Subject: Re: [PATCH] Use xxHash hashing algorithm.
Date: Mon, 04 Jul 2022 17:40:31 +0200	[thread overview]
Message-ID: <cf8afa32005214ce1e8b151d87ca08e8fe68d023.camel@klomp.org> (raw)
In-Reply-To: <c5620cb0-6159-9205-3ad4-b62f08676f9a@suse.cz>

Hi Martin,

On Mon, 2022-07-04 at 15:31 +0200, Martin Liška wrote:
> > Please take a look at the updated patch.
> > 
> > I read it again and it looks good to me.
> 
> Fine. Can I install the patch now or should we wait for a follow up
> patch that will come up with a proper configuration?

I think we can do the configure stuff later. We also should add a check
for libelf.

One last check. In theory dwz is arch independent, the result of
running dwz on a file should be the same whether it is done on a 32/64
bit or big/little-endian machine. To keep things reproducible the hash
should be the same across arches.

The xxhash documentation states: "hashes are identical across all
platforms (little / big endian)".

I assume the above holds, even on 32bit arches (we always use XXH64).

So unless you know that there are cases where the hash produces
different values on some arches then I'll say it is fine to install.

Thanks,

Mark

  reply	other threads:[~2022-07-04 15:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05  8:17 Martin Liška
2022-03-31 11:29 ` Martin Liška
2022-04-28 10:06   ` Martin Liška
2022-06-20 13:29     ` Martin Liška
2022-06-25 19:44 ` Mark Wielaard
2022-06-27 13:41   ` Martin Liška
2022-06-30 16:13     ` Mark Wielaard
2022-07-04 13:31       ` Martin Liška
2022-07-04 15:40         ` Mark Wielaard [this message]
2022-07-07 12:29           ` Martin Liška
2022-07-07 13:36             ` xxhash devel on buildbot workers (Was: [PATCH] Use xxHash hashing algorithm) Mark Wielaard
2022-07-07 15:04               ` xxhash devel on buildbot workers Thomas Fitzsimmons
2022-07-11  7:48               ` xxhash devel on buildbot workers (Was: [PATCH] Use xxHash hashing algorithm) Dan Horák

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=cf8afa32005214ce1e8b151d87ca08e8fe68d023.camel@klomp.org \
    --to=mark@klomp.org \
    --cc=dwz@sourceware.org \
    --cc=mliska@suse.cz \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).