Skip to content

[release-8.0] build: on rhel9 based distros, avoid linking GLIBC_2.35 symbols - #14278

Merged
ploxiln merged 2 commits into
apple:release-8.0from
ploxiln:r9_glibc_symver_fix_fdb80
Oct 14, 2026
Merged

ploxiln merged 2 commits into
apple:release-8.0from
ploxiln:r9_glibc_symver_fix_fdb80

Conversation

@ploxiln

@ploxiln ploxiln commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

RHEL 9.x has glibc-2.34, but at various minor releases some glibc-2.35 symbols were backported. The problematic one for us is _dl_find_object@GLIBC_2.35 backported in RHEL 9.7 which causes fdb binaries to fail to start on RHEL 9.6 based systems or containers.

This symbol actually comes from stack-unwider routines in libgcc_eh.a from the system gcc-11 install, but the gcc-toolset-13 which we sometimes alternately use (instead of our typical custom clang-19.x) is not linked against the new glibc-with-backports so we can use the needed libgcc bits from that instead. This is admittedly not a very thorough fix, just a way to avoid downgrading build systems for now.

Also add a test that unexpected GLIBC_2.35+ symbols do not appear on RHEL 9.x based builds in the future, so we can at least catch it.


forward-port of #14274

RHEL 9.x has glibc-2.34, but at various minor releases some
glibc-2.35 symbols were backported. The problematic one for
us is _dl_find_object@GLIBC_2.35 backported in RHEL 9.7 which
causes fdb binaries to fail to start on RHEL 9.6 based systems
or containers.

This symbol actually comes from stack-unwider routines in libgcc_eh.a
from the system gcc-11 install, but the gcc-toolset-13 which we
sometimes alternately use (instead of our typical custom clang-19.x)
is not linked against the new glibc-with-backports so we can use
the needed libgcc bits from that instead. This is admittedly not a
very thorough fix, just a way to avoid downgrading build systems for now.

Also add a test that unexpected GLIBC_2.35+ symbols do not appear
on RHEL 9.x based builds in the future, so we can at least catch it.
@ploxiln
ploxiln requested a review from spraza as a code owner October 14, 2026 03:28
@ploxiln ploxiln changed the title build: on rhel9 based distros, avoid linking GLIBC_2.35 symbols [release-8.0] build: on rhel9 based distros, avoid linking GLIBC_2.35 symbols Oct 14, 2026
@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@ploxiln

ploxiln commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author

fdbserver -r simulation --crash --logsize 1024MB -f src/foundationdb/tests/slow/BackupAndRestore.toml --buggify off --seed 3028737158

20261014-174818-pr14278-clang-5afbd357-1759-0ab5bbdbcd61f762 compressed=True data_size=40893313 duration=255270 ended=10000 fail=1 fail_fast=10 max_runs=10000 pass=9999 priority=100 remaining=0 runtime=0:11:38 sanity=False started=10000 stopped=20261014-175956 submitted=20261014-174818 timeout=5400 username=pr14278-clang-5afbd357-17594

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-arm on Linux RHEL 9

  • Commit ID: 5afbd35
  • Duration 0:49:31
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 5afbd35
  • Duration 0:53:42
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 5afbd35
  • Duration 1:00:41
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

This comment has been minimized.

@ploxiln

ploxiln commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator Author
123 tests passed; 1 tests failed.
FAILED: /backup/throttling: internal_error (An internal error occurred)

...

Total Test time (real) = 515.63 sec

The following tests FAILED:
      8 - unit/fdbclient_test/native (Failed)               fdbclient_test native unit
Errors while running CTest

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS 14.x

  • Commit ID: 5afbd35
  • Duration 1:27:01
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests on Linux RHEL 9

  • Commit ID: 5afbd35
  • Duration 1:39:32
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: 5afbd35
  • Duration 0:39:53
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@ploxiln
ploxiln merged commit ecf4ed4 into apple:release-8.0 Oct 14, 2026
9 checks passed
@ploxiln
ploxiln deleted the r9_glibc_symver_fix_fdb80 branch November 2, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants