Re: linux-libc-headers scsi headers vs libc scsi headers

From: DervishD
Date: Thu Mar 31 2005 - 09:18:51 EST


Hi Mariusz :)

* Mariusz Mazur <mmazur@xxxxxxxxx> dixit:
> > I don't know which set of headers will work, and in fact I don't
> > know if I must follow 'Linux From Scratch' advice and use raw kernel
> > headers for building glibc and LLH headers for any other thing. I
> > think I probably will use the LLH headers (including scsi) for
> > everything since glibc passes the 'make check' doing that... If I
> > screw my system badly, I have lotsa backups at hand.
> Like I've said, you're unable to break your system this way.

I think so...

> And I don't see any point in LFS suggesting using raw kernel
> headers to compile glibc

I don't know their reasons because I haven't read any rationale
(if any exists at all). Anyway, I've used LLH (including the scsi
part) for building my new glibc and 'make check' passes. In fact, I'm
answering this email from the system I've upgraded, so glibc seems to
work ok ;)

> (no you can't* screw up your system by using llh unless I
> *specifically switch ioctls so apps remove files instead of opening
> them; I just can't see any possibility to do it by accident).

That's what I thought. Apps must, first, use glibc headers, not
kernel ones, and that cannot be broken by using llh, and in fact I
rely on llh because mistakes in the kernel headers will probably be
noticed very, very fast.

> And I'll add an entry to the llh FAQ to clear this matter up.

Thank you :) BTW, you've done a great work with llh. I really
like it and that's the reason I chose llh and not raw kernel headers
in the first place. Keep on doing such a great job :)

Raúl Núñez de Arenas Coronado

--
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/
It's my PC and I'll cry if I want to...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/