pkgsrc-Users archive

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

Re: qt5 questions



From: Thomas Klausner <wiz%NetBSD.org@localhost>, Date: Fri, 24 Jan 2014 
00:02:46 +0100

> On Thu, Jan 23, 2014 at 10:51:41PM +0100, Joerg Sonnenberger wrote:
>> On Thu, Jan 23, 2014 at 10:44:47PM +0100, Thomas Klausner wrote:
>> > On Thu, Jan 16, 2014 at 04:02:12PM +0100, Joerg Sonnenberger wrote:
>> > > On Thu, Jan 16, 2014 at 11:32:04PM +0900, Ryo ONODERA wrote:
>> > > > Thread 1 (LWP 1):
>> > > > #0  0x00007f7f94733162 in autofree () from 
>> > > > /usr/pkg/lib/dri/swrast_dri.so
>> > > > #1  0x00007f7fe68f0cdd in __cxa_finalize (dso=0x0)
>> > > >     at /mnt/cvs/src-current/src/lib/libc/stdlib/atexit.c:202
>> > > > #2  0x00007f7fe68f099a in exit (status=0)
>> > > >     at /mnt/cvs/src-current/src/lib/libc/stdlib/exit.c:58
>> > > > #3  0x000000000042c8b9 in ___start ()
>> > > > #4  0x00007f7ff7c05eac in _rtld_exclusive_exit (mask=0x7f7fffffdbd0)
>> > > >     at /mnt/cvs/src-current/src/libexec/ld.elf_so/rtld.c:1619
>> > > > #5  dlclose (handle=0x7f7fffffdbc8)
>> > > >     at /mnt/cvs/src-current/src/libexec/ld.elf_so/rtld.c:946
>> > > 
>> > > The very likely problem is that they are using atexit when it should be
>> > > __cxa_atexit...
>> > 
>> > Something like the attached?
>> > (Can't currently test, too many other local changes.)
>> 
>> I think it is:
>> __cxa_atexit(autofree, NULL, &_DYNAMIC);
> 
> So like this?
> 
> Weird, I had compile-tested the previous version (not the one that's
> now attached). Probably missing prototype.

Hi,

martin@ kindly provides me the modified patch.
It fix the problem for me.
I have just committed it.

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index