question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ARM64 Linux Drop GLIBC 2.29+ requirement

See original GitHub issue

Description

The new beta version of brave browser (https://github.com/brave/brave-core/pull/15349 by @mherrmann) requires much higher library versions than the amd64 versions

amd64:

Depends: ca-certificates, fonts-liberation, libasound2 (>= 1.0.17), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.6.0), libcups2 (>= 1.6.0), libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3, libdbus-1-3 (>= 1.5.12), libdrm2 (>= 2.4.60), libexpat1 (>= 2.0.1), libgbm1 (>= 8.1~0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.9.10) | libgtk-4-1, libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.26), libpango-1.0-0 (>= 1.14.0), libwayland-client0 (>= 1.0.2), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.4.4-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.4.1), libxrandr2, wget, xdg-utils (>= 1.0.2)
Recommends: libu2f-udev, libvulkan1

in particular libc6 (>= 2.17)

arm64:

Pre-Depends: dpkg (>= 1.14.0)
Depends: ca-certificates, fonts-liberation, libasound2 (>= 1.0.17), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.29), libcairo2 (>= 1.6.0), libcups2 (>= 1.6.0), libcurl3-gnutls | libcurl3-nss | libcurl4 | libcurl3, libdbus-1-3 (>= 1.0.2), libdrm2 (>= 2.4.60), libexpat1 (>= 2.0.1), libgbm1 (>= 8.1~0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.9.10) | libgtk-4-1, libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.26), libpango-1.0-0 (>= 1.14.0), libwayland-client0 (>= 1.0.2), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.4.4-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.4.1), libxrandr2, wget, xdg-utils (>= 1.0.2)
Recommends: libu2f-udev, libvulkan1

in particular libc6 (>= 2.29)

I have not researched in detail your build process but I assume you are probably using the chromium sysroots to build this on and utilizing their re-version glibc scripts to drop the minimum requirements on x86_64. You may need to make a minor edit to the re-version script as it was previously (and might still be) disabled on ARM64 linux due to an issue that google was having with re-versioning for ARM64 chromeOS.

I suggest starting with reading my issue at electron for a more detailed dive: https://github.com/electron/electron/issues/34399

the problematic chromium commit that I referenced: https://chromium.googlesource.com/chromium/src/+/f6901be733e76832721ad7fb8d4d51715df77095

https://bugs.chromium.org/p/chromium/issues/detail?id=1309965#c5

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
theofficialgmancommented, Nov 10, 2022

update on this. looks like chromium has bumped the glibc reversion script to max 2.26 glibc https://chromium-review.googlesource.com/c/chromium/src/+/3938615

so no more more debian 9 for all platforms going forward @mherrmann @martinbutt

1reaction
mherrmanncommented, Oct 24, 2022

Thank you for letting us know and the links @theofficialgman!

Read more comments on GitHub >

github_iconTop Results From Across the Web

GLIBC version problem - Red Hat Customer Portal
6 requires a version of glibc (i.e. libc.so ) with a tag GLIBC_2.23. The problem with this is that in RHEL 7.x, the...
Read more >
How install GLIBC 2.29 or higher in Ubuntu 18.04 - DigitalOcean
The first option is to migrate your application to a system that supports GLIBC higher than or equal to 2.29. This would mean...
Read more >
[Breaking change] Glibc version changed in 3.7.1 #85 - GitHub
Version 3.7.1 was build for glibc 2.29+ and version 3.7.0 (and lower) works with glibc lower than 2.29 (e.g. on Amazon Linux) Exception...
Read more >
glibc-2.29-28.fc30 | Build Info - Fedora Koji
Package Name, glibc. Version, 2.29. Release, 28.fc30. Epoch. Source, git+https://src.fedoraproject.org/rpms/glibc.git# ...
Read more >
Linux and glibc API changes - man7.org
The prctl(2) system call adds new ARM64-specific operations, PR_SVE_SET_VL and PR_SVE_GET_VL, for setting and getting SVE vector length. Details can be found in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found