[RFC PATCH v6 00/17] ILP32 for ARM64

Andreas Schwab schwab at suse.de
Mon Nov 9 06:33:51 PST 2015


Arnd Bergmann <arnd at arndb.de> writes:

> On Monday 09 November 2015 14:23:59 Andreas Schwab wrote:
>> Yury Norov <ynorov at caviumnetworks.com> 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?

I'm using the patched 4.3 kernel headers.  Why is <asm/bitsperlong.h>
defining __BITS_PER_LONG to 64 unconditionally?

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the linux-arm-kernel mailing list