logoalt Hacker News

dupedtoday at 1:27 AM1 replyview on HN

That's what I'm saying though, glibc-linked binaries are forwards (but not backwards) compatible.


Replies

okanattoday at 1:37 AM

It is not just compatibility. You cannot load them into the memory with your system dynamic loader. You need to also ship ld-linux.so with the new version of glibc you have, if you were to distribute your program independently.

On Windows you don't need to ship a new binary loader. I can just ship Windows 10 UCRT DLL (which is the new libc of Windows) to Vista and my binaries will work. The binary loader isn't interlinked with the libc.

show 1 reply