On 08/23/16 11:32, Sebastiaan Couwenberg wrote:
On s390x, alpha & sparc64 the build fails with:
./.libs/libprotobuf.so: undefined reference to
`google::protobuf::internal::NoBarrier_AtomicIncrement(long volatile*,
long)'
./.libs/libprotobuf.so: undefined reference to
`google::protobuf::internal::NoBarrier_Store(long volatile*, long)'
./.libs/libprotobuf.so: undefined reference to
`google::protobuf::internal::NoBarrier_AtomicExchange(long volatile*,
long)'
./.libs/libprotobuf.so: undefined reference to
`google::protobuf::internal::NoBarrier_Load(long const volatile*)'
For hurd-i386 a patch is needed to define PATH_MAX, and on kfreebsd-*
the builds fails with:
google/protobuf/stubs/stringpiece_unittest.cc: In member function
'virtual void
google::protobuf::{anonymous}::NonNegativeLenTest_NonNegativeLen_Test::TestBody()':
google/protobuf/stubs/stringpiece_unittest.cc:788:50: error:
'EXPECT_DEATH' was not declared in this scope
EXPECT_DEATH(StringPiece("xyz", -1), "len >= 0");
^
On powerpcspe dh_strip fails with:
Not enough room for program headers