[Pkg-protobuf-devel] Bug#835290: protobuf: FTBFS on s390x: undefined reference to `google::protobuf::internal::NoBarrier_AtomicIncrement(long volatile*, long)'

Aurelien Jarno aurel32 at debian.org
Wed Aug 24 12:35:28 UTC 2016


On 2016-08-24 14:20, Sebastiaan Couwenberg wrote:
> On Wed, 24 Aug 2016 11:28:23 +0200 Aurelien Jarno wrote:
> > [I have added a Cc: to the debian-s390 list as it appears we have
> > multiple copies of this code in the archive, so the patch might be
> > useful in other packages.]
> 
> protobuf has taken the atomicops code from V8, we should fix the
> architecture support in V8 upstream to resolve this for all applications
> that also take their atomicops code from V8.
> 
> I didn't notice this bugreport, so I've also provided a patch for the FTBFS
> on s390x in #835302. That patch is based on the v8 port for zSystems, which
> is probably preferable over your patch because it's more in line with
> upstream.

I think my patch is still important to apply, even if we add your
patch, as it will likely fix the FTBFS on other 64-bit architectures
like alpha or sparc64. That said I haven't tested that.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                 http://www.aurel32.net



More information about the Pkg-protobuf-devel mailing list