From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19345 invoked by alias); 9 Feb 2012 04:29:50 -0000 Received: (qmail 19272 invoked by uid 22791); 9 Feb 2012 04:29:41 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f48.google.com (HELO mail-qw0-f48.google.com) (209.85.216.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Feb 2012 04:29:17 +0000 Received: by qauh8 with SMTP id h8so953536qau.0 for ; Wed, 08 Feb 2012 20:29:16 -0800 (PST) Received: by 10.229.77.13 with SMTP id e13mr140789qck.32.1328761756424; Wed, 08 Feb 2012 20:29:16 -0800 (PST) Received: from anchor.twiddle.home.com ([173.160.232.49]) by mx.google.com with ESMTPS id gd3sm3337362qab.6.2012.02.08.20.29.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 20:29:16 -0800 (PST) From: Richard Henderson To: libc-ports@sourceware.org Subject: [PATCH 02/10] alpha: Require kernel version 2.6.0. Date: Thu, 09 Feb 2012 04:29:00 -0000 Message-Id: <1328761745-24481-3-git-send-email-rth@twiddle.net> In-Reply-To: <1328761745-24481-1-git-send-email-rth@twiddle.net> References: <1328761745-24481-1-git-send-email-rth@twiddle.net> X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00013.txt.bz2 The minimum version that supports TLS. Also avoids having to fix the build for ancient __ASSUME_* settings. --- ChangeLog.alpha | 5 +++++ sysdeps/unix/sysv/linux/alpha/configure | 8 ++++++++ sysdeps/unix/sysv/linux/alpha/configure.in | 8 ++++++++ sysdeps/unix/sysv/linux/alpha/kernel-features.h | 9 +++++++++ 4 files changed, 30 insertions(+), 0 deletions(-) create mode 100644 sysdeps/unix/sysv/linux/alpha/configure create mode 100644 sysdeps/unix/sysv/linux/alpha/configure.in diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 9c304d7..a1732f9 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,10 @@ 2012-02-08 Richard Henderson + * sysdeps/unix/sysv/linux/alpha/configure.in: New file. + * sysdeps/unix/sysv/linux/alpha/configure: Build. + * sysdeps/unix/sysv/linux/alpha/kernel-features.h: Protect from + multiple includes. Disable statfs64 entirely. + * sysdeps/alpha/nptl/tls.h: Don't test HAVE_TLS_SUPPORT. * sysdeps/unix/alpha/sysdep.h: Don't test HAVE___THREAD. * sysdeps/alpha/elf/configure.in (libc_cv_alpha_tls): Error out if diff --git a/sysdeps/unix/sysv/linux/alpha/configure b/sysdeps/unix/sysv/linux/alpha/configure new file mode 100644 index 0000000..80528ee --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/configure @@ -0,0 +1,8 @@ +# This file is generated from configure.in by Autoconf. DO NOT EDIT! + # Local configure fragment for sysdeps/unix/sysv/linux/alpha + +# There are several bits that no longer compile cleanly without +# realtime signal support (ver 2.2.0). Given that we also now +# require TLS (ver 2.6.0), it seems pointless to fix them. +# ??? Surely this should now be the generic default. +arch_minimum_kernel=2.6.0 diff --git a/sysdeps/unix/sysv/linux/alpha/configure.in b/sysdeps/unix/sysv/linux/alpha/configure.in new file mode 100644 index 0000000..7136b85 --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/configure.in @@ -0,0 +1,8 @@ +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. +# Local configure fragment for sysdeps/unix/sysv/linux/alpha + +# There are several bits that no longer compile cleanly without +# realtime signal support (ver 2.2.0). Given that we also now +# require TLS (ver 2.6.0), it seems pointless to fix them. +# ??? Surely this should now be the generic default. +arch_minimum_kernel=2.6.0 diff --git a/sysdeps/unix/sysv/linux/alpha/kernel-features.h b/sysdeps/unix/sysv/linux/alpha/kernel-features.h index 9c640f9..ce4d160 100644 --- a/sysdeps/unix/sysv/linux/alpha/kernel-features.h +++ b/sysdeps/unix/sysv/linux/alpha/kernel-features.h @@ -18,6 +18,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifndef _KERNEL_FEATURES_H +#define _KERNEL_FEATURES_H 1 + /* alpha switched to a 64-bit timeval sometime before 2.2.0. */ #if __LINUX_KERNEL_VERSION >= 131584 # define __ASSUME_TIMEVAL64 1 @@ -96,3 +99,9 @@ #if __LINUX_KERNEL_VERSION < 0x020621 # undef __ASSUME_FALLOCATE #endif + +/* There never has been support for fstat64. */ +#undef __ASSUME_STATFS64 +#define __ASSUME_STATFS64 0 + +#endif /* _KERNEL_FEATURES_H */ -- 1.7.7.6