Current-Users archive

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

Re: editors/Sigil vs. binutils-2.23



From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sun, 13 Oct 2013 
07:18:40 +0900 (JST)

> From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sat, 12 Oct 2013 
> 21:56:15 +0900 (JST)
> 
>> Hi,
>> 
>> From: Thomas Klausner <wiz%NetBSD.org@localhost>, Date: Sat, 12 Oct 2013 
>> 14:49:03 +0200
>> 
>>> Hi!
>>> 
>>> I'm confused by editors/Sigil breakage:
>>> 
>>> Linking CXX executable ../../bin/sigil
>>> ld: /scratch/editors/Sigil/work/.buildlink/qt4/lib/libQtCore.so: undefined 
>>> reference to symbol 'pthread_cancel'
>>> ld: note: 'pthread_cancel' is defined in DSO /usr/lib/libpthread.so.1 so 
>>> try adding it to the linker command line
>>> /usr/lib/libpthread.so.1: could not read symbols: Invalid operation
>>> *** Error code 1
>>> 
>>> The Sigil source code does not use pthread_cancel. QtCore itself is
>>> linked against pthread:
>>> 
>>> # ldd /usr/pkg/qt4/lib/libQtCore.so                                         
>>>                                                                             
>>>                                                            
>>> /usr/pkg/qt4/lib/libQtCore.so:
>>>         -lz.1 => /usr/lib/libz.so.1
>>>         -lgcc_s.1 => /usr/lib/libgcc_s.so.1
>>>         -lc.12 => /usr/lib/libc.so.12
>>>         -lstdc++.7 => /usr/lib/libstdc++.so.7
>>>         -lm.0 => /usr/lib/libm.so.0
>>>         -lpthread.1 => /usr/lib/libpthread.so.1
>>> 
>>> So where is the problem?
>> 
>> Now I updating my NetBSD current environment.
>> I will try to build Sigil on 6.99.24.
> 
> I can reproduce it on today's NetBSD/amd64 6.99.24.
> 
> It seems http://mail-index.netbsd.org/pkgsrc-users/2013/10/04/msg018735.html
> is same problem.
> 
> editors/Sigil that is built on NetBSD/amd64 6.99.23 works with no error
> on today's NetBSD/amd64 6.99.24.

My qt4 is built on NetBSD/amd64 6.99.23.
I will try to build qt4-libs on today's NetBSD/amd64 6.99.24.

--
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