Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts.
From: Andreas Schwab
Date: Tue Jun 21 2016 - 04:03:29 EST
Yury Norov <ynorov@xxxxxxxxxxxxxxxxxx> writes:
> diff --git a/sysdeps/unix/sysv/linux/aarch64/configure b/sysdeps/unix/sysv/linux/aarch64/configure
> old mode 100644
> new mode 100755
> index f48472c..2563e83
> --- a/sysdeps/unix/sysv/linux/aarch64/configure
> +++ b/sysdeps/unix/sysv/linux/aarch64/configure
> @@ -1,9 +1,23 @@
> # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
> # Local configure fragment for sysdeps/unix/sysv/linux/aarch64.
>
> -arch_minimum_kernel=3.7.0
> -
> -test -n "$libc_cv_slibdir" ||
> +if test $aarch64_config_abi = ilp32; then
> + arch_minimum_kernel=3.19.0
> + test -n "$libc_cv_slibdir" ||
> +case "$prefix" in
> +/usr | /usr/)
> + libc_cv_slibdir=/libilp32
> + libc_cv_rtlddir=/lib
> + if test "$libdir" = '${exec_prefix}/lib'; then
> + libdir='${exec_prefix}/libilp32';
> + # Locale data can be shared between 32-bit and 64-bit libraries.
> + libc_cv_localedir='${exec_prefix}/lib/locale'
You need to regenerate this file to pick up recent changes in
LIBC_SLIBDIR_RTLDDIR.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."