Status: NeedPatchFromUser

Comment #2 on issue 188 by ken...@google.com: protobuf fails to link after compiling with LDFLAGS="-Wl,--as-needed" because of missing -lpthread

We can't just switch the order, because if -pthread exists as a compiler flag, then it is essential that we use it. Just -lpthread is not good enough, because -pthread tells GCC to output thread-safe code. It sounds like acx_pthread.m4 may need to be
refactored somewhat to get this right.  Please feel free to submit a patch.

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to