Shouldn't glibc-devel r: kernel-headers?

wrobell wrobell at ite.pl
Sun Oct 13 01:33:31 CEST 2002


On Sat, Oct 12, 2002 at 09:21:54PM +0200, Andrzej Krzysztofowicz wrote:
> > 
> > On Sat, Oct 12, 2002 at 05:42:44PM +0200, Michal Moskal wrote:
> > > On Sat, Oct 12, 2002 at 05:51:28PM +0200, wrobell wrote:
> > > > On Sat, Oct 12, 2002 at 03:07:31PM +0200, Michal Moskal wrote:
> > > > > On Sat, Oct 12, 2002 at 01:53:20PM +0200, Mariusz Mazur wrote:
> > > > > > On Friday 11 October 2002 23:37, Michal Moskal wrote:
> > > > > > > Glibc references some <asm/*.h> files. They are in kernel-headers
> > > > > > > package. Shouldn't therefore glibc-devel require kernel-headers?
> > > > > >=20
> > > > > > I thought about it too (I stumbled across this yesterday when somet=
> > hing didn't=20
> > > > > > want to build although all BuildRequires were met). Wouldn't it be =
> > ok to just=20
> > > > > > provide a kernel-fake.noarch.rpm for people not using disto kernel?
> > > > >=20
> > > > > I guess this is better idea then hacks with %{?_without_dist_kernel:.=
> > ..}
> > > > > all over the specs.
> > > > >=20
> > > > > Anyway I heard somewhere about moving <asm/*> to glibc-devel (in rh, =
> > or
> > > > > somewhere). Wouldn't that be a good idea?
> > > >=20
> > > > No, because it will overwrite used asm headers from non-distro
> > > > kernel.
> > >=20
> > > I guess one should use kernel headers that was used during glibc
> > > compilation?
> > I do not think so.
> > 
> > For example take PLD Ra situation where 2.2 kernel
> > is used. I had been using Ra glibc very long time=20
> > with kernel 2.4.x.
> 
> ... and you probably will not be able to use all 2.4 specyfic features 
> with your glibc, I guess. 
> Can you work with large files ?
Take for example, CD-ROM over SG 3 access. You need glibc only for
ioctl'ing device.  With 2.2.x headers in glibc-devel package you cannot
compile the program. You do need 2.4.x headers and there is no
requirement for glibc compiled with 2.4.x.
 
> > There are some situations when you should recompile
> > your glibc, but they are rare.
> 
> Kernel 2.4+ headers are no longer intended to be used in userspace.
Maybe... But above statement is told by glibc developers, I think. :-)

[...]

    wrobell <wrobell at ite.pl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20040626/2d16f92d/attachment-0002.bin


More information about the pld-devel-en mailing list