On Wed, Aug 19, 2009 at 10:47 AM, Kevin Deldycke <[email protected]> wrote:

> BTW, should we continue packaging-related discussion of protobuf here ?
>

Please do.


> Is this issue worth a bug report ?


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.

In any case, the work-around you may want is to set PTHREAD_CFLAGS='-pthread
-lpthread' -- that is, pass both flags.  Or better yet, set
PTHREAD_CFLAGS=-pthread and PTHREAD_LIBS=-lpthread -- this way -lpthread is
only passed while linking.

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

Reply via email to