From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11212 invoked by alias); 3 Aug 2012 03:34:04 -0000 Received: (qmail 11071 invoked by uid 22791); 3 Aug 2012 03:33:59 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Aug 2012 03:33:46 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Sx8e2-000570-89 from Carlos_ODonell@mentor.com ; Thu, 02 Aug 2012 20:33:46 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 2 Aug 2012 20:33:46 -0700 Received: from [172.30.3.46] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Thu, 2 Aug 2012 20:33:45 -0700 Message-ID: <501B4698.90108@mentor.com> Date: Fri, 03 Aug 2012 03:34:00 -0000 From: Carlos O'Donell User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "Joseph S. Myers" CC: , Subject: Re: Remove pre-2.6.0 Linux kernel support References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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-08/txt/msg00027.txt.bz2 On 8/2/2012 7:26 PM, Joseph S. Myers wrote: > This patch increases the minimum Linux kernel version from 2.4.21 to > 2.6.0 (generally meaning 2.6.0-test1 - the existing > --enable-kernel=2.6.0 meaning). > > Because there are quite a lot of __ASSUME_* macros this affects, some > of which are used in a lot of places, it seemed best to keep the patch > size down by separating the increase of minimum kernel version from > the cleanups to remove tests of __ASSUME_* macros, leaving the removal > of compatibility code to a separate patch for each macro or group of > related macros. Thus this patch does not remove any compatibility > code, though it does remove two __ASSUME_* macros that are not used > anywhere, __ASSUME_SET_THREAD_AREA_SYSCALL and __ASSUME_FUTEX_REQUEUE. > (nptl/sysdeps/i386/tls.h tests a differently spelt macro, > __ASSUME_SET_THREAD_AREA, that is nowhere defined, but the test is > inside #if 0 and only affects a #error directive.) The patch does > update README and NEWS for the new version requirement (future > patches, moving the requirement to 2.6.16 as previously discussed, > will of course update the version numbers there again). > > Tested x86_64. > > 2012-08-02 Joseph Myers > > [BZ #13717] > * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): > Change to 2.6.0 everywhere. > * sysdeps/unix/sysv/linux/configure: Regenerated. > * sysdeps/unix/sysv/linux/kernel-features.h > (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove. > (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not > kernel versions. > (__ASSUME_POSIX_TIMERS): Define unconditionally. > (__ASSUME_FUTEX_REQUEUE): Remove. > (__ASSUME_STATFS64): Define unconditionally. > (__ASSUME_AT_SECURE): Likewise. > (__ASSUME_CORRECT_SI_PID): Likewise. > (__ASSUME_TGKILL): Define without depending on kernel version for > i386. > (__ASSUME_UTIMES): Likewise. > (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not > kernel version. > (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally. > (__ASSUME_TMPFS_NAME): Likewise. > * README: Update reference to Linux kernel versions. Looks good to me. Cheers, Carlos. -- Carlos O'Donell Mentor Graphics / CodeSourcery carlos_odonell@mentor.com carlos@codesourcery.com +1 (613) 963 1026