Skip to content

Build Linux app in the oldest Ubuntu for better compatibility #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pzhlkj6612
Copy link

The current Linux CI builds can't run on older but still-supported distros (for me, that's Debian 12 1).

  • The latest Ubuntu (24.04) CI produces "GLIBC_2.38" binary, while I'm using 2.36. 2
  • GTK API "g_once_init_enter_pointer" is introduced in GLIB 2.80, while I have only 2.74.6. 34

Switching to Ubuntu 22.04 will solve this problem because Ubuntu 22.04 has "GLIBC_2.35" and GLIB 2.72.4. 5

Ref:

.

Footnotes

  1. https://wiki.debian.org/LTS

  2. "libc6 (>= 2.38)" in https://packages.ubuntu.com/noble/libstdc++6

  3. "libglib2.0-0 (2.74.6..." in https://packages.debian.org/bookworm/libglib2.0-0

  4. "Available since: 2.80" in https://docs.gtk.org/glib/type_func.Once.init_enter_pointer.html

  5. https://packages.ubuntu.com/jammy/libc6; https://packages.ubuntu.com/jammy/libglib2.0-0

- "GLIBC_2.38".
- "g_once_init_enter_pointer" is introduced in GLIB 2.80.
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.

1 participant