This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] Enable ILP32 mode on aarch64 (version 2)
- From: Andreas Schwab <schwab at suse dot de>
- To: Steve Ellcey <sellcey at caviumnetworks dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 07 Dec 2016 12:52:30 +0100
- Subject: Re: [PATCH 2/2] Enable ILP32 mode on aarch64 (version 2)
- Authentication-results: sourceware.org; auth=none
- References: <1481060942.29811.41.camel@caviumnetworks.com>
Please install autoconf 2.69 and configure with
--enable-maintainer-mode, and make sure you are using the latest kernel
headers with the ILP32 patches.
> +#define STATFS_IS_STATFS64 1
This is a lie. You are using .../generic/bits/statfs.h, which assumes
that fsblkcnt64_t == 2* fsblkcnt_t (etc.), but ILP32 wants them to be
the same.
.Lsyscall_error in sysdeps/unix/sysv/linux/aarch64/sysdep.h needs to use
PTR_REG.
sysdeps/unix/sysv/linux/aarch64/c++-types.data needs to be adapted.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."