public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "mark at klomp dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug remote/28489] Allow caching of remote objfiles
Date: Tue, 03 Jan 2023 17:55:47 +0000	[thread overview]
Message-ID: <bug-28489-4717-DxeZ5V3cUR@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28489-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=28489

--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
I agree with Simon. You can just assume there will be no accidental collisions.
So you can design as if each build-id is globally unique.

Any real collisions are either because a user explicitly created it (e.g. ld
can be called with --build-id=0xhexid) or a bug in a producer (e.g. lld has a
--build-id=fast mode which creates a build-id really fast, but using less than
128bits so it cannot guarantee that the build-id is globally unique) which
really is just a bug in such a producer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-01-03 17:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22 15:24 [Bug remote/28489] New: " tromey at sourceware dot org
2023-01-02 19:30 ` [Bug remote/28489] " tromey at sourceware dot org
2023-01-03  2:56 ` simark at simark dot ca
2023-01-03  4:09 ` daniel at mariadb dot org
2023-01-03  9:57 ` mark at klomp dot org
2023-01-03 16:45 ` tromey at sourceware dot org
2023-01-03 16:57 ` simark at simark dot ca
2023-01-03 17:55 ` mark at klomp dot org [this message]
2023-01-04  1:39 ` tromey at sourceware dot org
2023-01-04  2:58 ` fche at redhat dot com
2023-01-04  4:07 ` tromey at sourceware dot org
2023-01-04  4:13 ` simark at simark dot ca
2023-01-04 17:11 ` simark at simark dot ca
2023-08-23 19:18 ` tromey at sourceware dot org
2023-08-23 19:26 ` fche at redhat dot com
2023-08-23 19:30 ` tromey at sourceware dot org
2023-08-24 17:40 ` tromey at sourceware dot org
2023-08-24 19:41 ` tromey at sourceware dot org

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=bug-28489-4717-DxeZ5V3cUR@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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).