This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: BZ #15997: Set arch_minimum_kernel for x32


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]