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

Project / Subsystem

binutils / configure

Date

2026-09-27

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.
  • • Raises a question about the maintenance of generated configure files.

All attributes

project
binutils
subsystem
configure
patch_id
—
discussion_id
20260927115704.1214794-1-torbjorn.svensson@foss.st.com
source_type
public_inbox
title
[PATCH] 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.
  • • Raises a question about the maintenance of generated configure files.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • build
  • • configure
  • • zstd
  • • patch
bugzilla_url
—
date
2026-09-27T00:00:00.000Z

[PATCH] 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. This addresses the issue where the path provided to —with-zstd was not being utilized, unlike in GCC. The patch also notes discrepancies in configure file content compared to autoconf output.