From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 34F503858D37; Tue, 3 Jan 2023 17:55:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34F503858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672768548; bh=O9+2gKXrw8CtPuRJRzwZqaqVE1hkOQN2WJmjldXP4qo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wQxMcyiTf3pFD6lBCrKmFae31qc5jUTqBtlCpUpxqf73jGn7ZOlIYniSeD8ia4qp+ CQdlPgUb1XCKJfeM6n87M/6BabwdB5BKsIJ68inhv2mLB+PhS5dTt0JQOnVfbI2yyd aZWzrv632XWGbulhJ/nc4pU5WWVtc/UL6sWmaEUQ= From: "mark at klomp dot org" To: gdb-prs@sourceware.org Subject: [Bug remote/28489] Allow caching of remote objfiles Date: Tue, 03 Jan 2023 17:55:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28489 --- Comment #6 from Mark Wielaard --- I agree with Simon. You can just assume there will be no accidental collisi= ons. 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=3D0xhexid) or a bug in a producer (e.g. lld h= as a --build-id=3Dfast 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. --=20 You are receiving this mail because: You are on the CC list for the bug.=