Building a debug build of Firefox-3.0 from the source package

Jonathan Busby jonathanbusby at gmail.com
Thu Jun 25 14:49:32 BST 2009


On Wed, Jun 24, 2009 at 9:52 PM, Jonathan Busby <jonathanbusby at gmail.com> wrote:

[snip]

> Note that even when I use 'DEB_BUILD_OPTIONS="noop nostrip debug"
> fakeroot debian/rules binary'
> I get a stripped, optimized, non-debug executable. If I'm not
> mistaken, according to Debian and CDBS policy
> any deb package's rules script is supposed to honor DEB_BUILD_OPTIONS
> -- obviously the Ubuntu package
> does not.
>
> I think this should be considered a bug and filed as such.
>
>
> Jonathan


The reason that the debug build from the official Mozilla Project tarball ran
without error is that I did not indicate to the build system that I wanted
the build to be dynamically linked against my system libxul.
Adding 'ac_add_options --disable-libxul' to .mozconfig fixed that problem.
I can now see that there is a buffer overflow in or associated with libxul.

Jonathan



More information about the Ubuntu-mozillateam mailing list