This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PATCH: BZ #15997: Set arch_minimum_kernel for x32
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 4 Nov 2013 12:25:36 -0800
- Subject: PATCH: BZ #15997: Set arch_minimum_kernel for x32
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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.
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