Re: [PATCH 0/4] Fix build errors due to qualifier preserving strchr()
Project / Subsystem
binutils / binutils
Date
2026-04-26
Proposer
Simon Marchi <simon.marchi@polymtl.ca>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Refactoring is required in one patch.
All attributes
- project
- binutils
- subsystem
- binutils
- patch_id
- —
- discussion_id
- f666177e-aaf6-42c0-b5f3-0222c632d7e9@polymtl.ca
- source_type
- public_inbox
- title
- Re: [PATCH 0/4] Fix build errors due to qualifier preserving strchr()
- headline
- Fix build errors due to qualifier preserving strchr()
- tldr
- Qualifer-preserving `strchr()` causes build errors in binutils; this patch series fixes them.
- proposer
- Simon Marchi <simon.marchi@polymtl.ca>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Refactoring is required in one patch.
- series_id
- binutils:fix build errors due to qualifier preserving strchr()
- series_role
- cover
- series_parts
- []
- tags
-
- • build error
- • strchr
- • const
- • glibc
- • gcc
- bugzilla_url
- —
- date
- 2026-04-26T00:00:00.000Z
Re: [PATCH 0/4] Fix build errors due to qualifier preserving strchr()
This thread discusses a patch series addressing build errors in binutils caused by the qualifier-preserving behavior of strchr() in newer glibc versions and GCC. The updated strchr() returns a const pointer when passed a const argument, leading to type mismatches in binutils code. The series aims to resolve these errors, with one patch requiring refactoring.