Source: google-perftools
Version: 2.15-1.1
Severity: serious
Tags: ftbfs
User: debian-...@lists.debian.org
Usertag: time64

Dear Maintainer,

google-perftools fails to build from source when building with -D_TIME_BITS=64
on armhf and armel with the following error:

src/mmap_hook.cc:309:31: error: static assertion failed
  309 | static_assert(sizeof(int32_t) == sizeof(off_t), "");
      |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
src/mmap_hook.cc:309:31: note: the comparison reduces to ‘(4 == 8)’
make[1]: *** [Makefile:5124: src/libtcmalloc_internal_la-mmap_hook.lo] Error 1

The package builds correctly disabling the time64 flags with:

  DEB_BUILD_MAINT_OPTIONS=abi=-time64 dpkg-buildpackage

Reply via email to