Oops sorry my bad, the issue was caused by mixing static and dynamic libraries, and/or position-idependant with non-PIC.
Hello everyone, new user here from Montréal, Canada. I'm getting a weird FPE crash in what looks like a string-conversion function in wxWidgets, whenever i link my executable with wxSVG - this crash is probably caused by some global object's constructor because it happens before the start of my main function is even reached. Here's a backtrace from gdb: Program received signal SIGFPE, Arithmetic exception. 0x0000555555addf2d in wxCSConv::DoCreate() const () (gdb) bt #0 0x0000555555addf2d in wxCSConv::DoCreate()...