bazel-contrib / bazel-contrib/rules_foreign_cc

autotools example: m4 segmentation fault

Open
#898 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
737
Forks
270
PR merge metrics
No merged PRs in 30d

Description

```
❯ bazel build @m4//...
...
bazel-out/darwin_arm64-fastbuild/bin/external/m4/m4_foreign_cc/build_script.sh: line 102: 87922 Segmentation fault: 11 $EXT_BUILD_ROOT/bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains/make/bin/make -C $BUILD_TMPDIR
...
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `bazel build @m4//...` on the reported Darwin ARM64 setup. Then inspect `bazel-out/darwin_arm64-fastbuild/bin/external/m4/m4_foreign_cc/build_script.sh` at line 102 and the referenced `make` invocation; done means the example builds without a segmentation fault.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.