Email or username:

Password:

Forgot your password?
Top-level
Grigory Shepelev

@ramin_hal9001 no. i mean how to I run gcc with guile script and get symbols for it in a sigsegv backtrace

1 comment
Ramin Honary
> "i mean how to I run gcc with guile script and get symbols for it in a sigsegv backtrace"

@shegeley you should make sure that the ".so" files being loaded by Guile have their debugging symbols available. If for example you are linking against "libgtk-3.so" and the crash occurs in this file, the symbol table is probably not available unless you install those from your package manager, or build the whole Gtk3 library yourself with the "-g" flag included in your "CC_FLAGS" environment setting when running the "./configure" autoconf script for Gtk.

I am pretty sure you can accomplish this with the Guix package manager, but I am not sure exactly how.

> "i mean how to I run gcc with guile script and get symbols for it in a sigsegv backtrace"

@shegeley you should make sure that the ".so" files being loaded by Guile have their debugging symbols available. If for example you are linking against "libgtk-3.so" and the crash occurs in this file, the symbol table is probably not available unless you install those from your package manager, or build the whole Gtk3 library yourself with the "-g" flag included in your "CC_FLAGS" environment setting when running the "

Go Up