Will there be any issues if a binary compiled with gdb symbols (-g) is linked with a library without gdb symbols?
I am debugging this issue, and I am checking if the “-g” might be causing this.
Advertisement
Answer
Linking libraries compiled with debug symbols and without debug symbols should not cause Segmentation fault. Debug symbols are used by the debugger only, so should not cause a Segementation fault.