Hmm, now I'm confused.  They imply that libprotobuf should be linked with
both -pthread *and* -lpthread, as the latter registers libpthread as some
sort of auto-loaded dependency, I guess.  The internet does not provide very
much useful info on what the real best practice is.

On Wed, Sep 9, 2009 at 3:40 PM, Kevin Deldycke <ke...@deldycke.com> wrote:

>
> On Wed, Aug 19, 2009 at 20:35, Kenton Varda<ken...@google.com> wrote:
> > Well, I haven't observed this problem on other platforms or distros.
>  What
> > happens if you write a very basic program that uses pthread_once, then
> try
> > to compile it with -pthread (but not -lpthread)?  If this doesn't work, I
> > suspect something is wrong with the way GCC was built for your
> distribution.
>
> FYI, I've just reported the issue in Mandriva's bug tracker:
> https://qa.mandriva.com/show_bug.cgi?id=53578
>
> --
> Kevin Deldycke
>  • blog: http://kevin.deldycke.com
>  • band: http://coolcavemen.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to