Skip to content

update for general build, using glibc-compat, to solve issue #73#75

Open
word-sys wants to merge 2 commits into
iw4x:mainfrom
word-sys:main
Open

update for general build, using glibc-compat, to solve issue #73#75
word-sys wants to merge 2 commits into
iw4x:mainfrom
word-sys:main

Conversation

@word-sys

Copy link
Copy Markdown

Vendors glibc-compat (https://github.com/billziss-gh/glibc-compat) to pin
symbol versions to GLIBC 2.17 in static Linux builds, making the binary
portable across older distributions without tying the build to a specific
distro baseline

Changes:

  • Vendor glibc-2.17.h into launcher/third-party/glibc-compat/
  • Update bindist-gcc-static.sh to force-include the compat header via -include
  • Exclude third-party/ from build2 directory glob
    Only affects release packaging (bindist-gcc-static.sh). Normal builds unchanged

Closes #73

NOTE: glibc-compat does NOT include LICENSE file on repository, idk how to handle it so im leaving it to actual devs. Also i dont have proper test enviroment, builds seems to be fine but needs check-up first

@wroyca

wroyca commented Jun 11, 2026

Copy link
Copy Markdown
Member

Thank! You can ignore the failing CI here. Look like something changed with odb upstream that break our build. Will take a look when time permits.

@word-sys

Copy link
Copy Markdown
Author

All right then, i hope next build will run on Ubuntu 22, have a great day

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.

Doesnt works on Ubuntu 22.04.5 LTS due to GLIBC version

2 participants