Is there a way to turn on a debug mode when building? I have done ./configure --help, and don't see much there. Basically I am stuck - I built dillo 1.3 on my opensuse machine, and it was segfaulting. I won't fill in the details of a long story, but I went and built it on a Fedora 14 machine (actually the same machine, just booted into Fedora), and the segfault did not happen. Built it on Linux Mint (Debian edition) and the same segfault is back. It is showing the problem as being in libc, but when I do a backtrace, there is not much meaningful stuff there. I would basically like to see more information - starting with turning off the optimisation, and possibly cranking the level of the debug from -g to -ggdb3. I just wanted to ask before I started monkeying with the configure files...
On Sun, 24 Apr 2011 21:41:04 -0400, Rob S. <mr_semantics@hotmail.com> wrote:
Is there a way to turn on a debug mode when building? I have done ./configure --help, and don't see much there. Basically I am stuck - I built dillo 1.3 on my opensuse machine, and it was segfaulting. I won't fill in the details of a long story, but I went and built it on a Fedora 14 machine (actually the same machine, just booted into Fedora), and the segfault did not happen. Built it on Linux Mint (Debian edition) and the same segfault is back. It is showing the problem as being in libc, but when I do a backtrace, there is not much meaningful stuff there. I would basically like to see more information - starting with turning off the optimisation, and possibly cranking the level of the debug from -g to -ggdb3. I just wanted to ask before I started monkeying with the configure files...
This patch might help: http://dillo-win32.sourceforge.net/files/01-dillo-r1785.configure.in.diff It adds an --enable-debug option, among other things (it also has some fixes for building on Windows). You'll have to run ./autogen.sh to re-generate your configure script after applying it. Cheers, ~Benjamin
To: dillo-dev@dillo.org Subject: Re: [Dillo-dev] Debug build Date: Sun, 24 Apr 2011 21:52:18 -0400 From: obeythepenguin@gmail.com
On Sun, 24 Apr 2011 21:41:04 -0400, Rob S. <mr_semantics@hotmail.com> wrote:
Is there a way to turn on a debug mode when building? I have done ./configure --help, and don't see much there. Basically I am stuck - I built dillo 1.3 on my opensuse machine, and it was segfaulting. I won't fill in the details of a long story, but I went and built it on a Fedora 14 machine (actually the same machine, just booted into Fedora), and the segfault did not happen. Built it on Linux Mint (Debian edition) and the same segfault is back. It is showing the problem as being in libc, but when I do a backtrace, there is not much meaningful stuff there. I would basically like to see more information - starting with turning off the optimisation, and possibly cranking the level of the debug from -g to -ggdb3. I just wanted to ask before I started monkeying with the configure files...
This patch might help: http://dillo-win32.sourceforge.net/files/01-dillo-r1785.configure.in.diff
It adds an --enable-debug option, among other things (it also has some fixes for building on Windows). You'll have to run ./autogen.sh to re-generate your configure script after applying it.
Thank you very much. ?This gave me an idea of where to start (the patch was good enough, but I wanted to tweak things, and now I know where. ? Before that I was thinking I would have to learn about how to use autotools ::shudders::. ?
participants (3)
-
jcid@dillo.org
-
mr_semantics@hotmail.com
-
obeythepenguin@gmail.com