This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH 0/3] bugfix for aarch64 ILP32

On 19/03/15 05:27, Bamvor Jian Zhang wrote:
> There was a patch about change kernel uapi to as same as the arm 32bit
> version[1]. That patch try to keep the userspace compatabilities. What
> do you think about it?

using 32bit compat syscalls makes sense, but i dont know all the
kernel side consequences (eg if compat syscall abi is compatible
with non-compat one)

> Besides, there is a off_t relative fix in LTP testsuite[2] which is
> fix sizeof(off_t) changes in application. And use 64bit off_t could
> make use of the normal syscall instead of the compat one. It seems that
> it worth to change.

the assumption in the ltp testsuite that size_t is same sized as off_t
is clearly broken and should be fixed

(ltp was probably only used with 32bit off_t on 32bit systems so far..)

> Understand, I want to do something to see if we could speed up ilp32
> upstreaming.

well the kernel side issues should be sorted out first (which seems
to be a hard problem because timespec is everywhere) or you will
end up with a broken ilp32 abi

> [1]
> [2]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]