Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1427619 > unrolled thread

Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts.

Started byJoseph Myers <joseph@codesourcery.com>
First post2016-06-21 13:30 +0200
Last post2016-06-21 13:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts. Joseph Myers <joseph@codesourcery.com> - 2016-06-21 13:30 +0200

#1427619 — Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts.

FromJoseph Myers <joseph@codesourcery.com>
Date2016-06-21 13:30 +0200
SubjectRe: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts.
Message-ID<rMs2t-5aD-1@gated-at.bofh.it>
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
joseph@codesourcery.com

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web