Re: [RFC PATCH v6 00/17] ILP32 for ARM64
From: Arnd Bergmann
Date: Mon Nov 09 2015 - 09:22:40 EST
On Monday 09 November 2015 14:23:59 Andreas Schwab wrote:
> Yury Norov <ynorov@xxxxxxxxxxxxxxxxxx> writes:
>
> > This is what I run:
> > https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t
>
> That doesn't work for me:
>
> ../sysdeps/unix/sysv/linux/generic/sysdep.h:24:22: error: â__NR_llseekâ undeclar
> ed (first use in this function)
> ../sysdeps/unix/sysv/linux/aarch64/sysdep.h:41:32: error: â__NR_fcntl64â undeclared (first use in this function)
>
Did you re-export the kernel headers that you use as the base?
The earlier ABI used 64-bit off_t with 'lseek()' and no loff_t, while this
one does uses loff_t with 'llseek()' etc on the kernel side and does not
provide the off_t based syscalls.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/