|
|
Subscribe / Log in / New account

The ABI status of ELF hash tables

The ABI status of ELF hash tables

Posted Aug 22, 2022 21:54 UTC (Mon) by bartoc (guest, #124262)
In reply to: The ABI status of ELF hash tables by mokki
Parent article: The ABI status of ELF hash tables

This kinda stuff works if ALL libraries that depend on libc (which basically means all libraries) are bundled with the game. Unfortunately, that is not a good option, since you really want to use (at least) the graphics stack from the host system. Additionally, you probably do want libraries like openssl to update out from under you, either from something like the steam runtime, a flatpak runtime, or the distribution itself. Guess what: libraries like openssl and gnutls load plugins, and those plugins assume that they are being loaded into a process with a glibc at least as new as the one the openssl/gnutls was built for.

Basically, it's really bad to bundle shared libraries if they could possibly be dependencies of anything you want to load from the base system. If you really want to bundle such libraries, you should probably consider reangling their symbols, but that's not a good option for something like glibc as it would make things like threads work in really bizarre ways.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds