You are not logged in.
Has anyone an idea how to compile darktable with debugging symbols? I've grabbed the sources from the arch package and added the strings
export CFLAGS="$CFLAGS -O0 -fbuiltin -g"
export CXXFLAGS="$CXXFLAGS -O0 -fbuiltin -g"
to the PKGBUILD as the arch wiki described in the "Step by step debugging guide", but it don't seems to work proberly. I can't obtain a proper backtrace.
"gdb darktable" only gives me the message:
Reading symbols from /usr/bin/darktable...(no debugging symbols found)
What's my fault?
Last edited by Thorsten Reinbold (2013-12-29 14:40:22)
Offline
What about ' options=('!strip')'?
Offline
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Sorry, that was really stupid. Thanks for the hints, I was able to compile now. But the next problem is knocking on the door: when I try to get a backtrace, I get a "No stack."-message from gdb. Google wasn't helpful with this and those are my first steps in debugging. Maybe some has an Idea? I only need a full backtrace for an upstream bugreport.
Edit: got it. There was a gdb Zombie in the background.
Solved!
Last edited by Thorsten Reinbold (2013-12-29 14:40:04)
Offline