ci: docker opensuse x bazel: codegen link failure

Open
#5,522 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Mizux is already working on this.

Since Oct 23, 2026.

Assessment

Difficulty
4/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp, docker, linux

Research direction

Start with the failed Bazel link action for //ortools/math_opt/elemental/codegen:codegen in ortools/math_opt/elemental/codegen/BUILD.bazel, then inspect the referenced CI run and reproduce the bazel build --config=ci //... failure in the openSUSE Docker environment. Determine why ld segfaults and verify the full build completes successfully; the issue provides no diagnosis or test target.

Written by the indexing model from the issue text.

Description

Build: Bazel CI Failure Docker

trace:

#13 364.9 ERROR: /home/project/ortools/math_opt/elemental/codegen/BUILD.bazel:65:13: Linking ortools/math_opt/elemental/codegen/codegen [for tool] failed: (Exit 1): gcc failed: error executing CppLink command (from target //ortools/math_opt/elemental/codegen:codegen) /usr/bin/gcc @bazel-out/k8-opt-exec-ST-d57f47055a04/bin/ortools/math_opt/elemental/codegen/codegen-0.params
#13 364.9 
#13 364.9 Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
#13 364.9 collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
#13 364.9 compilation terminated.
#13 365.2 Use --verbose_failures to see the command lines of failed build steps.
#13 365.3 [1,997 / 3,840] checking cached actions
#13 365.3 INFO: Elapsed time: 365.028s, Critical Path: 39.28s
#13 365.3 INFO: 1997 processes: 1284 internal, 4 local, 709 processwrapper-sandbox.
#13 365.3 ERROR: Build did NOT complete successfully
#13 ERROR: process "/bin/sh -c bazel build --config=ci //..." did not complete successfully: exit code: 1

ref: https://github.com/google/or-tools/actions/runs/39582491075/job/119163860538

Dominant language
C++
Stars
14.5k
Forks
2.6k
Avg merge
9h 43m
Merged PRs (30d)
53

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/or-tools

All issues in google/or-tools

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.