Landing: 7130a3856cbb

Project / Subsystem

gcc / makefile.tpl

Date

2026-08-14

Author

Kyrylo Tkachov

Commit

7130a3856cbb9d36293ee2a285917ac049966bb0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
makefile.tpl
patch_id
—
commit_hash
7130a3856cbb9d36293ee2a285917ac049966bb0
source_type
github
headline
Makefile.tpl parallel bootstrap comparison made portable.
tldr
GCC's parallel bootstrap comparison in Makefile.tpl now uses portable shell and sed constructs.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • makefile
  • • build
  • • portability
  • • testing
discussion_id_link
—
bugzilla_pr
—
date
2026-08-14T00:00:00.000Z

The Makefile.tpl’s parallel bootstrap comparison mechanism has been updated to be more portable across different hosts. It previously relied on GNU sed and specific shell features that are not universally available, causing failures on systems like Solaris. The changes use standard $(subst) for variable substitution and adjust shell trap handling to ensure correct behavior and error reporting on a wider range of environments.