This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: BZ #15997: Set arch_minimum_kernel for x32
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 13 Nov 2013 05:45:47 -0800
- Subject: Re: PATCH: BZ #15997: Set arch_minimum_kernel for x32
- Authentication-results: sourceware.org; auth=none
- References: <20131104202536 dot GA29274 at intel dot com> <528301E5 dot 8080809 at redhat dot com>
On Tue, Nov 12, 2013 at 8:36 PM, Carlos O'Donell <carlos@redhat.com> wrote:
> On 11/04/2013 03:25 PM, H.J. Lu wrote:
>> x32 ABI support was added in Linux 3.4.0. This patch sets
>> arch_minimum_kernel to 3.4.0 for x32. Tested on x32 and x86-64.
>> OK to install?
>>
>> Thanjs.
>>
>>
>> H.J.
>> ---
>> 2013-11-04 H.J. Lu <hongjiu.lu@intel.com>
>>
>> [BZ #15997]
>> * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
>> to 3.4.0 for x32.
>> * sysdeps/unix/sysv/linux/configure: Regenerated.
>
> Looks obvious to me.
>
>> diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
>> index 84dfbb8..643da86 100644
>> --- a/sysdeps/unix/sysv/linux/configure
>> +++ b/sysdeps/unix/sysv/linux/configure
>> @@ -187,6 +187,9 @@ case "$machine" in
>> libc_cv_gcc_unwind_find_fde=yes
>> arch_minimum_kernel=2.6.16
>> ;;
>> + x86_64/x32)
>> + arch_minimum_kernel=3.4.0
>> + ;;
>> powerpc/powerpc32*)
>> libc_cv_gcc_unwind_find_fde=yes
>> arch_minimum_kernel=2.6.16
>> diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac
>> index 5e5902d..1be921f 100644
>> --- a/sysdeps/unix/sysv/linux/configure.ac
>> +++ b/sysdeps/unix/sysv/linux/configure.ac
>> @@ -43,6 +43,9 @@ case "$machine" in
>> libc_cv_gcc_unwind_find_fde=yes
>> arch_minimum_kernel=2.6.16
>> ;;
>> + x86_64/x32)
>> + arch_minimum_kernel=3.4.0
>> + ;;
>> powerpc/powerpc32*)
>> libc_cv_gcc_unwind_find_fde=yes
>> arch_minimum_kernel=2.6.16
>>
I checked it in.
Thanks.
--
H.J.