[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022991: libc6: broken y2038 support in fstatat on mips64el



Package: libc6
Version: 2.35-1
Severity: critical
Tags: upstream
Justification: breaks unrelated software

On mips64el the fstat/fstatat/lstat functions return EOVERFLOW when they
are called on files with a mtime, atime or ctime that can't be
represented within a 32-bit time_t. This should not happen as time_t is
64-bit on mips64el. This is a regression from glibc 2.34 and can be
reproduce with:

(sid_mips64el-dchroot)aurel32@eller:~$ touch -d 20390101 t
(sid_mips64el-dchroot)aurel32@eller:~$ chmod +x t
chmod: cannot access 't': Value too large for defined data type
(sid_mips64el-dchroot)aurel32@eller:~$ 

This breaks unrelated software, for instance the build of gcc-12 on the
build daemons:

https://buildd.debian.org/status/fetch.php?pkg=gcc-12&arch=mips64el&ver=12.2.0-7&stamp=1666806816&raw=0


Reply to: