Current-Users archive

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

Re: editors/Sigil vs. binutils-2.23

See the "link problems" thread for more issues and discussed/planned fixes.


On 10/13/13 00:18, Ryo ONODERA wrote:
From: Ryo ONODERA <>, Date: Sat, 12 Oct 2013 
21:56:15 +0900 (JST)


From: Thomas Klausner <>, Date: Sat, 12 Oct 2013 
14:49:03 +0200


I'm confused by editors/Sigil breakage:

Linking CXX executable ../../bin/sigil
ld: /scratch/editors/Sigil/work/.buildlink/qt4/lib/ undefined 
reference to symbol 'pthread_cancel'
ld: note: 'pthread_cancel' is defined in DSO /usr/lib/ so try 
adding it to the linker command line
/usr/lib/ 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/
         -lz.1 => /usr/lib/
         -lgcc_s.1 => /usr/lib/
         -lc.12 => /usr/lib/
         -lstdc++.7 => /usr/lib/
         -lm.0 => /usr/lib/
         -lpthread.1 => /usr/lib/

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

PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Home | Main Index | Thread Index | Old Index