Hi again. So last time I failed to check _TIME_BITS=64. I only tested
_FILE_OFFSET_BITS. And 32-bit arm bits continue failing.
https://buildd.debian.org/status/fetch.php?pkg=google-perftools&arch=armel&ver=2.15-2&stamp=1709539473&file=log

Please also cherry-pick
https://github.com/gperftools/gperftools/commit/02adc8ceab39bbeac1f65e10bde577e1753094fa
.

On Fri, Mar 1, 2024 at 4:32 PM Aliaksey Kandratsenka <
alkondrate...@gmail.com> wrote:

> Hi. Upstream maintainer here. Please cherry-pick:
> https://github.com/gperftools/gperftools/commit/198b3dd2d0b4d83c873b2ce480837edacc0f35ab
>
>
> On Fri, Mar 1, 2024 at 6:15 AM Emanuele Rocca <e...@debian.org> wrote:
>
>> 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