Repository navigation
Use gdb 18.1 in cctools image - #124241
Merged
Merged
Conversation
Contributor
|
Workflow [PR], commit [cb412b7] Summary: ✅ AI ReviewSummaryThis PR updates Final Verdict
|
evillique
approved these changes
Oct 6, 2026
azat
reviewed
Oct 12, 2026
| # | ||
| ENV LD=ld.lld-${LLVM_VERSION} | ||
| ARG GDB_VERSION=16.3 | ||
| ARG GDB_VERSION=18.1 |
Member
There was a problem hiding this comment.
You forgot to bump cctools image in dependent images:
azat:.../ch/clickhouse (workload-dynamic-spilling) {elapsed: 13s}$ gg cctools:
ci/docker/binary-builder/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /cctools /cctools
ci/docker/binary-builder/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad \
ci/docker/fasttest/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /opt/gdb /opt/gdb
ci/docker/integration/base/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /opt/gdb /opt/gdb
ci/docker/integration/base/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad \
ci/docker/integration/runner/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /opt/gdb /opt/gdb
ci/docker/integration/runner/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad \
ci/docker/performance-comparison/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /opt/gdb /opt/gdb
ci/docker/stateless-test/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /opt/gdb /opt/gdb
ci/docker/stateless-test/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad \
ci/docker/test-base/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad /opt/gdb /opt/gdb
ci/docker/test-base/Dockerfile:COPY --from=clickhouse/cctools:859fb360308eb8ac47ad \
And don't forget private as well
This was referenced Oct 16, 2026
thevar1able
added a commit
that referenced
this pull request
Oct 16, 2026
The images that copy files from `clickhouse/cctools` declared the tag in their Dockerfiles, and it had to be updated by hand in a separate commit after the image was built. It was forgotten after the gdb update. Make `clickhouse/cctools` a dependency of these images and take its tag from the `CCTOOLS_TAG` build argument. A change in `cctools` now rebuilds the dependent images automatically. The server and keeper images get the tag from the workflow config. Related: #124241 Related: #126291 Co-Authored-By: Claude Opus 5.5 <[email protected]>
huldarchen
pushed a commit
to huldarchen/ClickHouse
that referenced
this pull request
Oct 20, 2026
…/fasttest` `clickhouse/fasttest` and other images copy `/opt/gdb` and `/opt/openssl-fips` from `clickhouse/cctools`, while `clickhouse/cctools` itself was built from `clickhouse/fasttest`. Because of this cycle, the pinned `cctools` tag in the dependent images never matched its digest, and bumping the tag changed the `cctools` digest again. Nothing in the build needs the `fasttest` toolchain: libtapi and cctools-port build with any recent clang, gdb and OpenSSL with any C/C++ compiler. Build it from the plain `ubuntu:24.04` (the same base as `fasttest`, so the copied binaries match its glibc) with the Ubuntu clang. The `ld.lld` workaround for binutils 2.38 is not needed with binutils 2.42 from Ubuntu 24.04. Related: ClickHouse#124241 Related: ClickHouse#126291 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switch to GDB 18.1, and use mirrors.kernel.org source, as previous one fails with timeout too often.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Workflow [PR]
Sync PR [sync-upstream/pr/124241]
Version info
26.10.1.1697-master(included in26.10and later)