Re: Protobuf string serialization bug with statically linked protobuf 2.5.0

2016-02-16 Thread Achim Gratz
[please don't top-post] Tomasz Wiszkowski writes: > the protobuf package needs to be rebuilt. That package is orphaned. Since you already have it built and are obviously using it, would you like to maintain it? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofe

Re: Protobuf string serialization bug with statically linked protobuf 2.5.0

2016-02-16 Thread Tomasz Wiszkowski
I gather this package bug is not exactly interesting here, but i'll share a final update. The package is likely built inaccurately, or is linked against library that changed ABI over time. Downloading and compiling protocol buffers library manually does not expose any of the serialization problem

Re: Protobuf string serialization bug with statically linked protobuf 2.5.0

2016-02-11 Thread Tomasz Wiszkowski
A brief correction. I tried to identify further the problem by selectively linking libraries. (-Wl,-Bstatic -lprotobuf.dll -Wl,-Bdynamic) and it turns out the problem emerges the moment i statically link both protobuf _and_ the c++ library. linking everything statically except for libc++ seems to

Fwd: Protobuf string serialization bug with statically linked protobuf 2.5.0

2016-02-10 Thread Tomasz Wiszkowski
Dear all, I'm having problems with statically linked executables that use protocol buffers. I suspect the problem may be related to incompatibility between std::string implementation used to compile the library vs. current. If that's the case, the problem would likely go away with recompilation of