[arch-general] xcb_wait_for_reply () from /usr/lib/libxcb.so.1 causing kdesktop crash on x86_64 (is this an upstream issue?)

Richard Schütz r.schtz at t-online.de
Sat Feb 19 13:35:40 EST 2011


>    How do I add a debugging flag? Do I use CFLAGS=-DEBUG? CPPFLAGS=-DEBUG? add
> --enable-debug? I've checked ./configure --help and it is silent on the issue.
> I've added the --enable-debug below. It builds fine, but is only slightly larger
> than the original:
>
> -rw-r--r--  1 david david 274088 Feb 19 12:12 libxcb-1.7-1-x86_64.pkg.tar.xz
> -rw-r--r--  1 david david 273996 Feb 19 11:46 libxcb-1.7-1-x86_64.pkg.tar.xz.sav
>
>    Do I need to enable debugging in another manner?

You must add 'options=(!strip)' to the PKGBUILD. Otherwise the debugging 
symbols will be removed by makepkg automatically after the build process.

'export CFLAGS="$CFLAGS -g"' and 'export CXXFLAGS="$CXXFLAGS -g"' tell 
the compiler to build the binaries with debugging symbols.

-- 
Regards,
Richard Schütz


More information about the arch-general mailing list