Re: [PATCH 01/27] [AARCH64] Fix utmp struct for compatibility reasons.

From: Szabolcs Nagy
Date: Tue Jun 21 2016 - 06:15:36 EST


On 21/06/16 06:06, Yury Norov wrote:
> From: Andrew Pinski <apinski@xxxxxxxxxx>
>
> NOTE This is an ABI change for AARCH64.
> If you have some AARCH32 and AARCH64 applications and they both use
> utmp, one of them will fail due to the use of time_t inside the
> utmp binary format.
>
> This fixes the problem by setting __WORDSIZE_TIME64_COMPAT32.

i think changing the abi now is not ok.

this is BZ 17470 and i think it should be discussed separately
from ilp32.

if it's possible to detect the utmp file format, that would
allow a reasonable fix, the way glibc changes the struct def
based on lp64 targets is non-conforming.