wheybags/glibc_version_header
View on GitHub ↗ ★ 880 C++
Build portable Linux binaries without using an ancient distro
11 mentions on Hacker News by 9 people: 2 stories, 9 comments · first 2021-12-07 · latest 2026-08-19
20082026
-
Something like https://github.com/wheybags/glibc_version_header may be of interest to wean off using older OS’s in your build system.
comment by g0xA52A2A · 2026-08-19 · in Solo – a .so loader for static Linux binaries -
…simply to, at compile time, link to the oldest compatible version of glibc by including a header: https://github.com/wheybags/glibc_version_header It's too bad this hasn't been standard practice for the past 30 years!
comment by TOGoS · 2023-08-21 · in Flatpak is not the future (2021) -
…some reason you need to build on a current-gen distro version), you could also consider using this: https://github.com/wheybags/glibc_version_header It's a set of autogenerated headers that use symbol aliasing to allow you to build against…
comment by kelnos · 2022-08-16 · in Win32 Is the Only Stable ABI on Linux? -
…this problem, but they all feel like hacks, or involve a lot of extra work. (Hacks such as https://github.com/wheybags/glibc_version_header -- which apparently does work very well, but still feels like an annoying hoop that should be…
comment by kelnos · 2022-07-03 · in The Windows malloc() implementation from MSVCRT is slow -
There are other approaches like https://github.com/wheybags/glibc_version_header or sysroots with older glibc, e.g. https://wiki.gentoo.org/wiki/Crossdev - you don't need your whole XP, just the the system libs to link against. Sure,…
comment by account42 · 2022-06-21 · in Cross-compiling binaries for Windows is easier than building natively -
> the closest I've seen to fixing this issue is https://github.com/wheybags/glibc_version_header Or just compile against an older glibc version. Plenty of tools to setup sysroots for that, e.g. https://wiki.gentoo.org/wiki/Crossdev
comment by account42 · 2022-06-21 · in Cross-compiling binaries for Windows is easier than building natively -
…issue that plagues portable Linux binaries. the closest I've seen to fixing this issue is https://github.com/wheybags/glibc_version_header
comment by ranger_danger · 2022-06-19 · in Cross-compiling binaries for Windows is easier than building natively -
…https://rpg.hamsterrepublic.com/ohrrpgce/Portable_GNU-Linux_... https://github.com/wheybags/glibc_version_header In other words: there are a lot of steps and a lot of gotchyas to doing this that you're glossing over. Linux
comment by AnIdiotOnTheNet · 2022-02-08 · in Thank You, Valve -
…massive Python rebuild (blocking all other Python package updates) behind the scenes as well. [1]: https://github.com/wheybags/glibc_version_header (hack but easy and will probably work most of the time) [2]:…
comment by mananaysiempre · 2021-12-07 · in A proposal to start “llvm-libc” (2020)