Re: xcb_wait_for_reply () from /usr/lib/libxcb.so.1 causing kdesktop crash on x86_64 (is this an upstream issue?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/19/2011 12:35 PM, Richard Schütz wrote:
>>    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.
> 

That's better:

-rw-r--r--  1 david david 295756 Feb 19 13:11 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


-- 
David C. Rankin, J.D.,P.E.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux