Why would gnu ld link order causes Signal 11 (SEGV) on startup?
- by Benoit
We are building a large application in C++ that includes the use of many (static) libraries.
We have a problem where the application crashes on startup with a Signal 11, before we even reach main.
After much debugging, we have observed that if we explicitly reference an object file so its link order is early, the program crashes on startup. If the…