Something is still wrong when compiling my shared library:
- if I compile with debugging (-gl), it runs
- if I compile without debugging, it raises Bus error
- if I compile without debugging but with a writeln statement anywhere, it runs
I am rebuilding with -B passed to fpc, so it does not look like an issue with partial rebuilding (even though it certainly does not rebuild lazarus units).