public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Mariusz Mazur <mmazur@kernel.pl>, Sam Ravnborg <sam@ravnborg.org>,
	Linus Torvalds <torvalds@osdl.org>,
	David Woodhouse <dwmw2@infradead.org>,
	Paul Mackerras <paulus@samba.org>, Greg KH <greg@kroah.com>,
	Matthew Wilcox <matthew@wil.cx>,
	David Howells <dhowells@redhat.com>,
	hch@infradead.org, linux-kernel@vger.kernel.org,
	libc-hacker@sources.redhat.com
Subject: Re: [RFC] Splitting kernel headers and deprecating __KERNEL__
Date: Tue, 30 Nov 2004 23:14:00 -0000	[thread overview]
Message-ID: <orvfbnq6ad.fsf@livre.redhat.lsd.ic.unicamp.br> (raw)
In-Reply-To: <20041130230325.GY26051@parcelfarce.linux.theplanet.co.uk>

On Nov 30, 2004, Al Viro <viro@parcelfarce.linux.theplanet.co.uk> 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}

  parent reply	other threads:[~2004-11-30 23:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19865.1101395592@redhat.com>
2004-11-25 18:20 ` Alexandre Oliva
     [not found] ` <20041125165433.GA2849@parcelfarce.linux.theplanet.co.uk>
     [not found]   ` <1101406661.8191.9390.camel@hades.cambridge.redhat.com>
     [not found]     ` <20041127032403.GB10536@kroah.com>
     [not found]       ` <16810.24893.747522.656073@cargo.ozlabs.ibm.com>
     [not found]         ` <Pine.LNX.4.58.0411281710490.22796@ppc970.osdl.org>
2004-11-29 17:10           ` Alexandre Oliva
     [not found]             ` <Pine.LNX.4.58.0411290926160.22796@ppc970.osdl.org>
2004-11-29 22:28               ` Alexandre Oliva
     [not found]                 ` <Pine.LNX.4.58.0411291458040.22796@ppc970.osdl.org>
2004-11-30 21:22                   ` Alexandre Oliva
     [not found]                     ` <Pine.LNX.4.58.0411301413260.22796@ppc970.osdl.org>
2004-11-30 22:57                       ` Alexandre Oliva
     [not found]                         ` <Pine.LNX.4.58.0411301505580.22796@ppc970.osdl.org>
2004-12-01 19:41                           ` Alexandre Oliva
     [not found]             ` <8219.1101828816@redhat.com>
     [not found]               ` <Pine.LNX.4.58.0411300744120.22796@ppc970.osdl.org>
2004-11-30 20:47                 ` Alexandre Oliva
     [not found]                   ` <Pine.LNX.4.58.0411301249590.22796@ppc970.osdl.org>
2004-11-30 21:30                     ` Alexandre Oliva
2004-11-30 21:40                       ` Alexandre Oliva
     [not found]                       ` <Pine.LNX.4.58.0411301423030.22796@ppc970.osdl.org>
2004-11-30 23:05                         ` Alexandre Oliva
     [not found]           ` <1101721336.21273.6138.camel@baythorne.infradead.org>
2004-12-01 11:48             ` Ralf Baechle
     [not found]           ` <20041214025110.A28617@almesberger.net>
     [not found]             ` <Pine.LNX.4.58.0412140734340.3279@ppc970.osdl.org>
2004-12-14 16:55               ` Andreas Schwab
     [not found] ` <Pine.LNX.4.58.0411301243000.22796@ppc970.osdl.org>
     [not found]   ` <20041130223359.GA15443@mars.ravnborg.org>
     [not found]     ` <200411302344.21907.mmazur@kernel.pl>
     [not found]       ` <20041130230325.GY26051@parcelfarce.linux.theplanet.co.uk>
2004-11-30 23:14         ` Alexandre Oliva [this message]
     [not found] <20041214135029.A1271@almesberger.net>
     [not found] ` <200412141923.iBEJNCY9011317@laptop11.inf.utfsm.cl>
     [not found]   ` <20041214194531.GB13811@mars.ravnborg.org>
     [not found]     ` <Pine.LNX.4.58.0412141150460.3279@ppc970.osdl.org>
2004-12-14 20:26       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=orvfbnq6ad.fsf@livre.redhat.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=dhowells@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=greg@kroah.com \
    --cc=hch@infradead.org \
    --cc=libc-hacker@sources.redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=mmazur@kernel.pl \
    --cc=paulus@samba.org \
    --cc=sam@ravnborg.org \
    --cc=torvalds@osdl.org \
    --cc=viro@parcelfarce.linux.theplanet.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).