binutils test_build_id_debuglink
Project / Subsystem
binutils / binutils
Date
2026-05-24
Proposer
Alan Modra <amodra@gmail.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Building with -shared -nostdlib changes the nature of the test executable.
- • Removing CFLAGS_FOR_TARGET simplifies the test setup but might limit flexibility in some scenarios.
All attributes
- project
- binutils
- subsystem
- binutils
- patch_id
- —
- discussion_id
- ahLeYCYkXMCS4Iqy@squeak.grove.modra.org
- source_type
- public_inbox
- title
- binutils test_build_id_debuglink
- headline
- Binutils test_build_id_debuglink
- tldr
- The patch modifies the build-id-debuglink test to avoid glibc source dependencies and improve test reliability.
- proposer
- Alan Modra <amodra@gmail.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Building with -shared -nostdlib changes the nature of the test executable.
- • Removing CFLAGS_FOR_TARGET simplifies the test setup but might limit flexibility in some scenarios.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • binutils
- • testsuite
- • build-id
- • debuglink
- • cross-compilation
- bugzilla_url
- —
- date
- 2026-05-24T00:00:00.000Z
binutils test_build_id_debuglink
This patch modifies the test_build_id_debuglink test in binutils to avoid dependencies on glibc source code during cross-compilation. The original test setup resulted in timeouts due to the test trying to locate glibc sources. The updated test builds executables with -shared -nostdlib and uses additional_flags instead of CFLAGS_FOR_TARGET to pass extra options to the compiler. This improves test reliability by eliminating the external source dependency.