Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2022 (7)
20082026
  1. Something like https://github.com/wheybags/glibc_version_header may be of interest to wean off using older OS’s in your build system.
  2. …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)
  3. …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?
  4. …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…
  5. 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,…
  6. > 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
  7. …issue that plagues portable Linux binaries. the closest I've seen to fixing this issue is https://github.com/wheybags/glibc_version_header
  8. …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
  9. …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)