On Tue, 22 Mar 2016 23:21:31 +0100 Goffredo Baroncelli <kreij...@inwind.it> wrote: > Please give a look to > > https://sourceware.org/ml/libc-help/2016-03/msg00010.html > > to me it seems that the real problem is in glibc.
>From reading that thread and looking at the referenced git commit, I'm not convinced it's a glibc bug. While I'm definitely not an expert in this area, it looks to me like glibc removed some legacy cruft that should no longer have been needed by any app that used the correct compile/link flags for pthreads. They also added a workaround for a common case of incorrect flags. But what we have here is an uncommon case driven by mosh's linker options, which means that the glibc workaround for protobuf's incorrect linker options doesn't (can't?) work. If protobuf didn't recommend incorrect linker options, we wouldn't have this problem. Seems thus this bug should be moved to the protobuf package and the upstream patch applied? Having mosh conflict with the broken protobuf versions would be handy too, but may not be necessary?