Skip to content

Commit e6753ad

Browse files
committed
bash: Bump to 5.3, no patch needed
Upgrade from 5.1.16 (Jan 2022) to 5.3 (Jul 2025). The newer version doesn't require patches - it already includes proper C header handling and the -std=gnu11 workaround is no longer needed thanks to upstream fixes. Ref: GCC 15.1.0 upgrade (PR linuxboot#1991) Signed-off-by: Thierry Laurion <insurgo@riseup.net>
1 parent 96130d6 commit e6753ad

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

modules/bash

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
# GNU bash
22
modules-$(CONFIG_BASH) += bash
33

4-
bash_version := 5.1.16
4+
bash_version := 5.3
55
bash_dir := bash-$(bash_version)
66
bash_tar := bash-$(bash_version).tar.gz
77
bash_url := https://ftpmirror.gnu.org/bash/$(bash_tar)
8-
bash_hash := 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558
8+
bash_hash := 0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba
99

1010
# --enable-debugger: Enables BASH_SOURCE tracing through functions as well as
1111
# BASH_ARGV/BASH_ARGC. (Otherwise BASH_SOURCE[0] is empty when calling a
1212
# function, it's only set in top level script code.)
13-
# TODO(GCC15-BASH): Added -std=gnu11 for C23 keyword compatibility (bool, true, false conflicts)
14-
# Also patched lib/termcap/tparam.c to include <unistd.h> for write() function declaration
15-
# Consider reverting when bash is updated for GCC 15.1.0 compatibility
16-
bash_configure := CFLAGS="-g0 -Oz -std=gnu11" LDFLAGS="-s" ./configure \
13+
bash_configure := CFLAGS="-g0 -Oz" LDFLAGS="-s" ./configure \
1714
$(CROSS_TOOLS) \
1815
--host $(target) \
1916
--prefix="/usr" \

0 commit comments

Comments
 (0)