Subject: Re: minimo
To: Masahiko Ito <m-ito@mbox.kyoto-inet.or.jp>
From: Andy Ruhl <acruhl@gmail.com>
List: port-hpcmips
Date: 04/04/2005 10:43:01
On Apr 3, 2005 6:44 AM, Masahiko Ito <m-ito@mbox.kyoto-inet.or.jp> wrote:
> 
> From: Masahiko Ito <m-ito@mbox.kyoto-inet.or.jp>
> Subject: Re: minimo
> Date: Sat, 02 Apr 2005 15:31:08 +0900 (JST)
> Message-ID: <20050402.153108.41660997.itou-ma@city.takatsuki.osaka.jp>
> 
> m-ito> You know that I'm still using NeBSD-1.6.2/hpcmips, and this doesn't
> m-ito> have native thread library. So I have installed pth-2.0.3.tar.gz(Gnu
> m-ito> pthread library). I'm not sure, but this core dump may be related to
> m-ito> threading that you said.
> 
> I noticed that TestGtkEmbed which I built is not linked to pth-2.0.3.
> 
> In build log, I can see:
> 
>   checking for pthread_create in -lpthreads... no
>   checking for pthread_create in -lpthread... no
>   checking for pthread_create in -lc_r... no
>   checking for pthread_create in -lc... no
> 
> Any pthreads library is not appeared in result of `ldd TestGtkEmbed':
> 
>   TestGtkEmbed:
>          -lgtkembedmoz => not found
>          -lX11.6 => /usr/X11R6/lib/libX11.so.6
>          -lmozjs => not found
>          -lxpcom => not found
>          -lplds4 => not found
>          -lplc4 => not found
>          -lnspr4 => not found
>          -lm.0 => /usr/lib/libm.so.0
>          -liconv.4 => /usr/local/lib/libiconv.so.4
>          -lintl.0 => /usr/lib/libintl.so.0
>          -lglib-2.0.200 => /usr/local/lib/libglib-2.0.so.200
>          -lgmodule-2.0.200 => /usr/local/lib/libgmodule-2.0.so.200
>          -lgobject-2.0.200 => /usr/local/lib/libgobject-2.0.so.200
>          -lgdk_pixbuf-2.0.200 => /usr/local/lib/libgdk_pixbuf-2.0.so.200
>          -lXext.6 => /usr/X11R6/lib/libXext.so.6
>          -lpango-1.0.200 => /usr/local/lib/libpango-1.0.so.200
>          -lpangox-1.0.200 => /usr/local/lib/libpangox-1.0.so.200
>          -lgdk-x11-2.0.200 => /usr/local/lib/libgdk-x11-2.0.so.200
>          -latk-1.0.200 => /usr/local/lib/libatk-1.0.so.200
>          -lgtk-x11-2.0.200 => /usr/local/lib/libgtk-x11-2.0.so.200
>          -lstdc++.4 => /usr/lib/libstdc++.so.4
>          -lc.12 => /usr/lib/libc.so.12
> 
> It seems that configure searches pthreads library only in
> `-lpthreads', `-lpthread', `-lc_r' and `-lc' not but in `-lpth' and It
> seems that TestGtkEmbed which I built don't use any pthreads
> libraries, but it woks fine.
> 
> So it may be good effect for building minimo to add `ac_add_options
> --without-pthreads' on NetBSD-2.0 which has native pthreads library ?

That sounds like good advice, I will try that. Thanks!

Andy