1 - compile with -D_FILE_OFFSET_BITS=64 on linux. 2 related: this is needed only for glibc or musl too? 3 4 - (possibly related) find out what pread(2) black magic we can do to 5 read stuff on 32 bits