Randy McMurchy wrote:

> The headers used to compile Glibc is what should stay on the
> system for the duration of the life of that build (providing
> Glibc isn't updated). Since updating Glibc is usually not
> recommended, this means the original headers used on the system
> during the initial system build (when Glibc was built) should
> never be touched.
> 
> This is the way I understand the workings. Seems I remember reading
> somewhere that Linus himself recommended *never* updating the kernel
> headers, for the life of the current build, for the reasons I gave.
> 
> Now, I'm not smart man, but I explained things as I understand
> them. However, Linus *is* a smart man, and I believe I correctly
> paraphrased his words. You could probable search Google, or even
> the LFS archives and find a link to Linus' words on this subject.
> 

Yes, a perfect explanation.

Just FYI.  See the 4.1 book and the section titled "Why we copy the
kernel headers and don't symlink them" where Linus is quoted:

http://archive.linuxfromscratch.org/lfs-museum/4.1/LFS-BOOK-4.1-HTML/chapter06/kernel.html

Also of note at the end is a mention of /usr/src/linux, which of course
lived on well beyond the date of that posting.

-- DJ Lucas
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to