Comment #0 by alphaglosined — 2024-05-04T06:20:50Z
So apparently the C runtime constructor/destructors should not be exported.
This article covers Linux shared libraries and mentions them.
https://www.akkadia.org/drepper/dsohowto.pdf
It would be good to verify if this is indeed true and ensure the compiler prevents it.
Comment #1 by alphaglosined — 2024-05-04T07:06:04Z