[PATCH v2] configure: Support --with-zstd=PATH

Project / Subsystem

binutils / configure

Date

2026-09-28

Proposer

Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Ensures zstd version 1.4.0 or newer is used, potentially increasing build dependencies.
  • • Aligns binutils configuration with GCC's zstd handling.

All attributes

project
binutils
subsystem
configure
patch_id
—
discussion_id
20260928053309.1949979-1-torbjorn.svensson@foss.st.com
source_type
public_inbox
title
[PATCH v2] configure: Support --with-zstd=PATH
headline
configure: Support --with-zstd=PATH
tldr
Adds support to the configure scripts for specifying a custom path for zstd library installation.
proposer
Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Ensures zstd version 1.4.0 or newer is used, potentially increasing build dependencies.
  • • Aligns binutils configuration with GCC's zstd handling.
series_id
20260928053309.1949979-1-torbjorn.svensson@foss.st.com
series_role
cover
series_parts
[]
tags
  • • build
  • • configure
  • • zstd
  • • patch
bugzilla_url
—
date
2026-09-28T00:00:00.000Z

[PATCH v2] configure: Support --with-zstd=PATH

This patch updates the configure scripts to allow users to specify a PATH for the zstd library using the —with-zstd=PATH option. It ensures that the specified zstd version is 1.4.0 or newer and includes necessary changes in various binutils sub-projects’ configure scripts and Makefiles. This addresses the issue where the path provided to —with-zstd was not being utilized, unlike in GCC.