On Tue, 21 Jun 2016, Yury Norov wrote:

> diff --git a/sysdeps/aarch64/preconfigure b/sysdeps/aarch64/preconfigure
> index d9bd1f8..4bcd8e3 100644
> --- a/sysdeps/aarch64/preconfigure
> +++ b/sysdeps/aarch64/preconfigure
> @@ -1,6 +1,15 @@
>  case "$machine" in
>  aarch64*)
>       base_machine=aarch64
> -     machine=aarch64
> +     case "$CC $CFLAGS $CPPFLAGS " in
> +             *" -mabi=ilp32 "*) aarch64_config_abi=ilp32 ;;
> +             *" -mabi=lp64 "*) aarch64_config_abi=lp64 ;;
> +             *) aarch64_config_abi=default ;;

My comments in 
<https://sourceware.org/ml/libc-alpha/2014-10/msg00639.html> still apply: 
test how the compiler behaves instead.

> +if test $aarch64_config_abi = ilp32; then
> +  arch_minimum_kernel=3.19.0

My comments in 
<https://sourceware.org/ml/libc-alpha/2014-10/msg00639.html> still apply: 
use 10.0.0 until the corresponding kernel support is in, then change to 
the actual kernel version with the support.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to