Skip to content

Validate GNU build IDs in Linux artifacts - #1232

Merged
jjhelmus merged 1 commit into
mainfrom
jjh/validate_build_id
Aug 25, 2026
Merged

Validate GNU build IDs in Linux artifacts#1232
jjhelmus merged 1 commit into
mainfrom
jjh/validate_build_id

Conversation

@jjhelmus

Copy link
Copy Markdown
Contributor

Require executables and shared libraries to contain a nonempty GNU build ID to support debuginfod.

Follow up to #1230

Require executables and shared libraries to contain a nonempty GNU build ID
to support debuginfod.
@jjhelmus jjhelmus added platform:linux Specific to the Linux platform arch:all Select all architectures build:all labels Aug 25, 2026
@jjhelmus
jjhelmus requested review from EliteTK and ewdurbin August 25, 2026 14:17

@EliteTK EliteTK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine.

We could use object::read::Object::build_id here, but the current approach should work for our toolchains.

We do strip after this, and we don't check after that. Stripping shouldn't remove this but who knows...

@jjhelmus
jjhelmus merged commit a2b5eab into main Aug 25, 2026
111 checks passed
@jjhelmus
jjhelmus deleted the jjh/validate_build_id branch August 25, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch:all Select all architectures build:all platform:linux Specific to the Linux platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants