Bug#1126803: libc6-dev: __INO_T_MATCHES_INO64_T not defined on alpha

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.devel.glibc
Message-ID <aX_MgEuRYoKTd2K0__45632.5669585326$1769983296$gmane$org@aurel32.net>
Hi,

On 2026-02-01 19:28, Christian Göttsche wrote:
> Package: glibc
> Version: 2.41-3
> 
> src:libselinux FTBFS on alpha due to pedantic checks for an ABI
> incompatibility around matchpathcon_filespec_add(3).
> It seems __INO_T_MATCHES_INO64_T is not defined (to 1) although from
> my understanding ino_t and ino64_t have the same size of 8 bytes.

I think the definition is correct. ino_t is 32 bit on alpha, while 
ino64_t is 64 bit. This looks odd for a 64 bit architecture but it is 
like that for historical reason.

This means that the st_ino field of struct stat is 32 bit by default, 
and 64 bit with -D_FILE_OFFSET_BITS=64.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.