corsix / polyfill-glibc

Patch Linux executables for compatibility with older glibc
Other
143 stars 1 forks source link

Run polyfill on itself after compiling #2

Open MrNavaStar opened 1 month ago

MrNavaStar commented 1 month ago

I was recently using polyfill on a project and included my compiled build of polyfill in the GitHub project so that GitHub actions could output a polyfilled binary (my project for reference).

However since I compiled polyfill on a modern system (fedora 40) glibc was newer than the version ubuntu container actions uses. The fix ofc was very simple, just run polyfill on itself! I was able to patch polyfill for glibc for 2.2.5 and everything is now working great.

I think it would be very handy! (And thanks for this wonderful tool!)