[kde-freebsd] building KDE4 on CURRENT r255948 ports r328930 still fails

Matthias Apitz guru at unixarea.de
Wed Oct 9 05:59:03 UTC 2013


El día Tuesday, October 08, 2013 a las 07:33:36PM +0200, Tijl Coosemans escribió:

> On Tue, 8 Oct 2013 15:59:01 +0200 Matthias Apitz wrote:
> > I have always a core file in $HOME after starting KDE4; a gdb bt is:
> > 
> > # gdb /usr/local/kde4/bin/kactivitymanagerd kactivitymanagerd.core
> > ...
> > [New Thread 2c403080 (LWP 100158/kactivitymanagerd)]
> > (gdb) bt
> > #0  0x00000000 in ?? ()
> > #1  0x2a20e10e in __dynamic_cast (src_ptr=0x2c40dc20, src_type=0x28458bc0, dst_type=0x28458c10, src2dst=0)
> >     at ../../.././../gcc-4.6.3/libstdc++-v3/libsupc++/dyncast.cc:61
> 
> This is probably because kdelibs was compiled with clang/libc++ and
> kactivitymanagerd was compiled with gcc/libstdc++.  Mixing C++
> runtime libraries like that doesn't work.
> 
> In x11/kactivitymanagerd/Makefile see if commenting out USE_GCC=yes
> and then rebuilding the port helps.

I commented out USE_GCC=yes and the port builds fine with clang; but
kactivitymanagerd still crashes on start of KDE4 and as well on
termination of KDE4; the gdb bt has changed, here the one after termination of
KDE4:

...
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2a317300 in sbrk () from /lib/libc.so.7
[New Thread 2c407b80 (LWP 100817/kactivitymanagerd)]
[New Thread 2c407400 (LWP 100814/kactivitymanagerd)]
[New Thread 2c406a00 (LWP 100813/kactivitymanagerd)]
[New Thread 2c406780 (LWP 100812/kactivitymanagerd)]
[New Thread 2c406280 (LWP 100811/kactivitymanagerd)]
[New Thread 2c403080 (LWP 100137/kactivitymanagerd)]
(gdb) bt
#0  0x2a317300 in sbrk () from /lib/libc.so.7
#1  0x2a3187cd in sbrk () from /lib/libc.so.7
#2  0x2e400000 in ?? ()
#3  0x0000001d in ?? ()
#4  0x00000000 in ?? ()
(gdb) 

For what this kactivitymanagerd is good for?
Pls let me know if you need more information.

Thx

	matthias
-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards


More information about the kde-freebsd mailing list