Skip to content
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

Pick correct toolchain for Linux builds #6094

Merged
merged 1 commit into from
Aug 27, 2023
Merged

Pick correct toolchain for Linux builds #6094

merged 1 commit into from
Aug 27, 2023

Conversation

kneth
Copy link
Contributor

@kneth kneth commented Aug 23, 2023

What, How & Why?

This closes #6082

In order to see which GLIBC versions a binary is depending on, I have used the following command:

objdump -T realm.node  | grep GLIBC_ | awk '{ print $5 }' | tr -d "()GLIBC_" | sort | uniq

I have examined the binaries distributed with v12.0.0, and the following list is produced:

2.10
2.14
2.16
2.17
2.2.5
2.3
2.3.2
2.3.4
2.32
2.33
2.34
2.4
2.7
2.9

Moreover I have built the binary locally using this pull request, and the list is

2.10
2.12
2.14
2.17
2.2.5
2.3
2.3.2
2.3.4
2.7
2.9

Conclusion: this PR is producing a binary which depends on GLIBC v2.17 which is compatible with RHEL 7 and CentOS 7.

Fun read - and inspiration to the objdump command: Make binaries portable across linux distros

☑️ ToDos

  • 📝 Changelog entry
  • 📝 Compatibility label is updated or copied from previous entry
  • 📝 Update COMPATIBILITY.md
  • 🚦 Tests
  • 📦 Updated internal package version in consuming package.jsons (if updating internal packages)
  • 📱 Check the React Native/other sample apps work if necessary
  • 💥 Breaking label has been applied or is not necessary

@kneth kneth merged commit b789110 into main Aug 27, 2023
33 checks passed
@kneth kneth deleted the kneth/linux-toolchain branch August 27, 2023 14:12
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'`GLIBC_2.34' not found' error after upgrade 12.0.0 on Linux OS
4 participants