More > JRiver Media Center 24 for Linux
libstdc++ static linking
(1/1)
BryanC:
CentOS 7 ships with GCC 4.8.5 which has a CXXABI_1.3.7. Would it be possible to statically link libstdc++ in future builds to improve compatibility with CentOS 7? It appears that statically linking libstdc++ does not invoke the GPL.
Hendrik:
I'm personally not a fan of that. It would greatly increase the binary size (and possibly the runtime memory size due to loading it multiple times) due to the number of separate .so's we use and have some other unfortunate implications. We try to keep the runtime dependencies as low as possible, but glibc and libstdc++ are really quite a minimum to have.
It's also a potential source of problems when we interface with other C++ libraries in the system which use a different version.
BryanC:
Understood, I'll try to figure out a plan B, probably a container.
Hendrik:
We'll see what bob thinks, maybe he has another idea.
Navigation
[0] Message Index
Go to full version