Skip to content

Commit 355a498

Browse files
authored
Merge pull request #10829 from oharboe/bump-m4-1.4.21.bcr.4
bazel: bump m4 to 1.4.21.bcr.4 for hermetic-llvm compatibility
2 parents 3f096e4 + ba12395 commit 355a498

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

MODULE.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ single_version_override(
100100

101101
bazel_dep(name = "git", version = "2.54.0")
102102
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
103+
104+
# m4 is transitive (rules_bison/rules_flex -> m4). Its vendored gnulib
105+
# headers deliberately shadow libc headers; under toolchains that inject
106+
# libc headers as leading -isystem entries (hermetic-llvm, #10812) the
107+
# shadowing breaks and m4@1.4.21 fails to compile (O_SEARCH, BCR #7642).
108+
# 1.4.21.bcr.4 carries the upstream fix.
109+
single_version_override(
110+
module_name = "m4",
111+
version = "1.4.21.bcr.4",
112+
)
113+
103114
bazel_dep(name = "openmp", version = "21.1.5.bcr.2")
104115
bazel_dep(name = "or-tools", version = "9.15")
105116
bazel_dep(name = "spdlog", version = "1.15.1")

MODULE.bazel.lock

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

0 commit comments

Comments
 (0)