I take back everything bad I said about rpaths and sonames.
Turns out LoadLibraryExW is like 1000 times worse
#sharedLibraries #dynamicLinking #softwareEngineering #win32 #winapi #dlls
I take back everything bad I said about rpaths and sonames.
Turns out LoadLibraryExW is like 1000 times worse
#sharedLibraries #dynamicLinking #softwareEngineering #win32 #winapi #dlls
sonames and rpaths can go fuck themselves
Periodic reminder that static libraries on literally every major platform is just 1970's era 'ar' archives of object files and are not a real module system.
This post brought to you by stupid duplicate symbols linker errors even though I'm using `--exclude-libs` and `-hidden-lx` and every linker flag I can think of. Because it's all just terrible.
Can we just make the WASM Component Model the default for everything already
TIL use of gnulib's obstack API on glibc systems adds exported dynamic symbols to final binaries (normally harmless but somewhat unusual thing for programs that don't load plugins).
Even '/bin/ls' has a few of those exported out of a binary:
$ nm -D `which ls` | grep -v '^ '
00000000004c0d40 T _obstack_allocated_p
0000000000534808 D obstack_alloc_failed_handler
00000000004c0bd0 T
...
https://lists.gnu.org/archive/html/bug-gnulib/2022-12/msg00121.html