A bug in get_board_flags fin ld/testsuite/lib/ld-lib.exp
Project / Subsystem
binutils / ld
Date
2026-08-16
Proposer
Jan Dubiec <jdx@o2.pl>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Testsuite configuration is broken for certain targets.
- • Fix requires understanding DejaGnu's internal state management.
All attributes
- project
- binutils
- subsystem
- ld
- patch_id
- —
- discussion_id
- 8259bf0c-ea86-4c9d-a4fb-e8d135470edc@o2.pl
- source_type
- public_inbox
- title
- A bug in get_board_flags fin ld/testsuite/lib/ld-lib.exp
- headline
- Bug in get_board_flags for ld testsuite
- tldr
- Bug in DejaGnu testsuite helper for ld, where get_board_flags incorrectly returns empty flags due to an empty target_info name.
- proposer
- Jan Dubiec <jdx@o2.pl>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Testsuite configuration is broken for certain targets.
- • Fix requires understanding DejaGnu's internal state management.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • ld
- • testsuite
- • dejagnu
- • bug
- • testing
- bugzilla_url
- —
- date
- 2026-08-16T00:00:00.000Z
A bug in get_board_flags fin ld/testsuite/lib/ld-lib.exp
Jan Dubiec identified a bug in the get_board_flags procedure within binutils’ ld testsuite (ld/testsuite/lib/ld-lib.exp). The procedure is intended to retrieve compiler and linker flags from board descriptions but fails because [target_info name] returns an empty string, causing it to incorrectly return empty flags. The author seeks help to fix this DejaGnu-related issue.