Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1188611

Bug#1065167: google-perftools: FTBFS on armhf/armel: static_assert(sizeof(int32_t) == sizeof(off_t), "")

From Emanuele Rocca <ema@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1065167: google-perftools: FTBFS on armhf/armel: static_assert(sizeof(int32_t) == sizeof(off_t), "")
Date 2024-03-01 12:20 +0100
Message-ID <Id95L-dFSY-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: google-perftools
Version: 2.15-1.1
Severity: serious
Tags: ftbfs
User: debian-arm@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

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1065167: google-perftools: FTBFS on armhf/armel: static_assert(sizeof(int32_t) == sizeof(off_t), "") Emanuele Rocca <ema@debian.org> - 2024-03-01 12:20 +0100
  Bug#1065167: google-perftools: FTBFS on armhf/armel: static_assert(sizeof(int32_t) == sizeof(off_t), "") Aliaksey Kandratsenka <alkondratenko@gmail.com> - 2024-03-01 22:40 +0100
    Bug#1065167: google-perftools: FTBFS on armhf/armel: static_assert(sizeof(int32_t) == sizeof(off_t), "") Aliaksey Kandratsenka <alkondratenko@gmail.com> - 2024-03-07 19:30 +0100

csiph-web