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


Groups > linux.kernel > #1427439

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

From Andreas Schwab <schwab@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts.
Date 2016-06-21 10:10 +0200
Message-ID <rMoUX-3cQ-43@gated-at.bofh.it> (permalink)
References <rMoBA-2OV-31@gated-at.bofh.it> <rMoUX-3cQ-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Yury Norov <ynorov@caviumnetworks.com> 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@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts. Andreas Schwab <schwab@suse.de> - 2016-06-21 10:10 +0200

csiph-web