Open vitor251093 opened 1 month ago
I've found a workaround. It seems that adding -DUSE_SYSTEM_LIBSLIRP=ON
to the cmake flags while building does create a runnable binary. This does not fix the bug at glib.c, but if you are facing the issue, this flags works right now
This seems like just the fault of trying to stub glib while also actually having glib linked in regardless (which is sometimes (often?) going to be the case on Linux if just because of GTK). This issue ultimately is just due to ELF symbol interposition (i.e. non-issue on Windows and macOS which don't use ELF for their executable binary format). This might be fixed by hiding the symbols (-fvisibility=hidden)?
The latest source code isn't executing in Debian 11. It builds, but it gives a Segmentation Fault when trying to run it. This is the stack trace (gdb):