Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is this from a shared library (compiled with -fPIC and linked with -shared) though? That's where the big troubles start and I think C isn't better than C++ here


No, this is an executable without `-fPIC`.

I am grateful that I only use one multi-call executable (built from a monorepo made partially because of your post, btw) because I think shared libraries in C might have the same sort of problems, just without constructors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: