Skip to content

Commit d9d081e

Browse files
oharboeclaude
andcommitted
bazel: bump gawk to 5.3.2.bcr.7 for hermetic-llvm compatibility
gawk's vendored gnulib headers deliberately shadow libc headers; under toolchains that inject libc headers as leading -isystem entries (hermetic-llvm, #10812) gawk@5.3.2.bcr.2 fails to compile (BCR #7642). 5.3.2.bcr.7 carries the upstream BCR fix (#7989). Behavior-neutral on the current toolchain. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent f1738bd commit d9d081e

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

MODULE.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ bazel_dep(name = "boost.utility", version = BOOST_VERSION)
7676
bazel_dep(name = "cudd", version = "3.0.0.bcr.2")
7777
bazel_dep(name = "eigen", version = "3.4.0.bcr.3")
7878
bazel_dep(name = "fmt", version = "11.2.0.bcr.1")
79+
80+
# gawk is transitive (abc -> ncurses -> gawk; yosys -> gawk). Its vendored
81+
# gnulib headers deliberately shadow libc headers; under toolchains that
82+
# inject libc headers as leading -isystem entries (hermetic-llvm, #10812)
83+
# the shadowing breaks and gawk fails to compile (BCR #7642).
84+
# 5.3.2.bcr.7 carries the upstream BCR fix (BCR #7989).
85+
single_version_override(
86+
module_name = "gawk",
87+
version = "5.3.2.bcr.7",
88+
)
89+
7990
bazel_dep(name = "git", version = "2.54.0")
8091
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
8192
bazel_dep(name = "openmp", version = "21.1.5.bcr.2")

MODULE.bazel.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)