Matthew Burgess wrote: > On Fri, 21 Jan 2011 11:32:34 -0600, Bruce Dubbs <[email protected]> wrote: > >> In any case, should we change the book to update the glibc kernel option >> to 2.6.30? I don't know if a similar change to the host system >> prerequisites is also needed or not. > > I think we'd be wise to update the host system prerequisites. My > understanding > is that the --enable-kernel= will cause Glibc to omit fallbacks for kernels > older than that. That could mean that any programs we build against that > Glibc > will fail if the host system isn't at the specified version of the kernel or > newer. At the very least, we'd have to state that the tests depend on the > version of the host system's kernel.
I'm not sure about that. We are not building glibc against the host kernel. We are using the most recent headers from section 6.7. By specifying --enable-kernel= we are only telling the build system what features to use. Our new LFS will certainly be using a kernel > 2.6.30. Without going back and trying to build with an older kernel as host, it's hard to say for sure. I don't want to do that. I will note that I did go back and rebuilt glibc in chroot after mounting the virtual file systems. The errors faded away: $ grep Error glibc-check-log make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) $ -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
