Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262405AbUK3XW3 (ORCPT ); Tue, 30 Nov 2004 18:22:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262394AbUK3XWH (ORCPT ); Tue, 30 Nov 2004 18:22:07 -0500 Received: from mx1.redhat.com ([66.187.233.31]:11939 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262405AbUK3XOb (ORCPT ); Tue, 30 Nov 2004 18:14:31 -0500 To: Al Viro Cc: Mariusz Mazur , Sam Ravnborg , Linus Torvalds , David Woodhouse , Paul Mackerras , Greg KH , Matthew Wilcox , David Howells , hch@infradead.org, linux-kernel@vger.kernel.org, libc-hacker@sources.redhat.com Subject: Re: [RFC] Splitting kernel headers and deprecating __KERNEL__ References: <19865.1101395592@redhat.com> <20041130223359.GA15443@mars.ravnborg.org> <200411302344.21907.mmazur@kernel.pl> <20041130230325.GY26051@parcelfarce.linux.theplanet.co.uk> From: Alexandre Oliva Organization: Red Hat Global Engineering Services Compiler Team Date: 30 Nov 2004 21:13:46 -0200 In-Reply-To: <20041130230325.GY26051@parcelfarce.linux.theplanet.co.uk> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1445 Lines: 25 On Nov 30, 2004, Al Viro wrote: > WTF? I've got a dozen kernel trees hanging around, which one (and WTF any, > while we are at it) should be "linked to"? Whichever you chose to install in your /usr/include, and use as the kernel ABI definition as far as userland is concerned. I don't think `make install' should touch /usr/include at all. It should be a separate step, such that one can build a kernel abi headers package out of the kernel source tree, ideally without even having to configure it first, and use that as the kernel ABI definition. You should only have to do this again *if* the ABI changes (ideally no removals, only additions) *and* you want to take advantage of them, *and* you're willing to rebuild userland pieces that could take advantage of them. On most systems, people won't do that, they'll just use whatever kernel headers and glibc binaries their distro ships. If they want to change any of these, they have to know what they're doing. -- Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org} - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/