tech-pkg archive

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

Re: pkgsrc NetBSD 5.1_RC3/i386 2010-09-29 23:41



On Sun, Oct 03, 2010 at 02:09:40PM +1300, Mark Davies wrote:
> On Sunday 03 October 2010 13:36:21 Joerg Sonnenberger wrote:
> > Packages breaking the most other packages
> > 
> > Package                               Breaks Maintainer
> > ------------------------------------------------------------------------
> > - devel/automoc4                            42 markd%NetBSD.org@localhost
> 
> 
> [100%] Building CXX object CMakeFiles/automoc4.dir/kde4automoc.o
> Linking CXX executable automoc4
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to 
> `pthread_attr_destroy'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `pthread_create'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `pthread_attr_init'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `pthread_cancel'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to `pthread_testcancel'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to 
> `pthread_attr_setinheritsched'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to 
> `pthread__cleanup_pop'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to 
> `pthread_attr_setstacksize'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to 
> `pthread__cleanup_push'
> /usr/pkg/qt4/lib/libQtCore.so: undefined reference to 
> `pthread_attr_setdetachstate'
> --- automoc4 ---
> *** [automoc4] Error code 1
> 
> 
> I don't understand this one.  libQtCore.so is linked to libpthread here and 
> automoc4 builds fine.  Admittedly I don't have a completely up to date tree 
> but all the relevant bits should be.

See the note at the beginning. I'm using the i386 build for testing the
libtool update to hit the tree after the branch. It is using -nostdlib
for C++ linkage on NetBSD, which in turn kills the -pthread.

So please ignore this error, unless it can also be found in the amd64
build.

Joerg


Home | Main Index | Thread Index | Old Index