News for hackers. Stuff that matters.
Re:Building Outer Wonders for Linux by AnIdiotOnTheNet on Saturday May 22, 2021 @08:02AM (#27245697)
Sure, but is there any convenient mechanism to ensure that you don't use new features? I guess what I'm asking is, why does glibc not make this easier to do?
Re:Building Outer Wonders for Linux by spystath on Saturday May 22, 2021 @08:12AM (#27245755)
I think the generally accepted way to do that would be a container image running a relatively old distribution. This is exactly what python packages do when they need to distribute binary packages on linux [0]. You are supposed to compile the package in a container (or VM) that runs CentOS 7 (or older if you want broader support), although now the baseline is moving gradually to Debian 9.

[0]: https://github.com/pypa/manylinux

Re:Building Outer Wonders for Linux by AnIdiotOnTheNet on Saturday May 22, 2021 @08:18AM (#27245794)
So round about, the answer is a firm "no".
Re:Building Outer Wonders for Linux by Conan_Kudo on Wednesday May 26, 2021 @08:58PM (#27298111)
I think you can pass a linker flag to make it use the oldest version of each symbol, but I'm not sure what that flag is.