From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755028AbcFUIDZ (ORCPT ); Tue, 21 Jun 2016 04:03:25 -0400 Received: from mx2.suse.de ([195.135.220.15]:49783 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755026AbcFUICw (ORCPT ); Tue, 21 Jun 2016 04:02:52 -0400 From: Andreas Schwab To: Yury Norov Cc: , , , , , , , , , , , Andrew Pinski Subject: Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts. References: <1466485631-3532-1-git-send-email-ynorov@caviumnetworks.com> <1466485631-3532-12-git-send-email-ynorov@caviumnetworks.com> X-Yow: HUGH BEAUMONT died in 1982!! Date: Tue, 21 Jun 2016 10:01:46 +0200 In-Reply-To: <1466485631-3532-12-git-send-email-ynorov@caviumnetworks.com> (Yury Norov's message of "Tue, 21 Jun 2016 08:06:54 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Yury Norov 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."