This is the post that finally pointed me in the right direction:
http://www.linuxfromscratch.org/pipermail/lfs-support/2010-December/040001.html

Even if I hadn't been able to pinpoint the problem to /tools/include, it was
nice to confirm that the issue was indeed something I had messed up earlier
(as opposed to, say, my system clock being on the fritz) but was something
outside of the package build directory (which is why starting that package
over again didn't help).



William Tracy
afishion...@gmail.com
Cell phone: (805) 704-0917
Internet phone: (707) 206-6441


On Wed, Aug 31, 2011 at 9:05 AM, Bruce Dubbs <bruce.du...@gmail.com> wrote:

> William Tracy wrote:
> > Hello,
> >
> > First, I would like to congratulate the LFS team on the 7.0 rc. Good job,
> > people. :-)
> >
> > I'm working through a build right now. I screwed up on the original build
> of
> > glibc, but did not notice until running the test listed in section 5.8 of
> > the book.
> >
> > I went back, wiped my glibc build directory, and tried to rebuild from
> > scratch. When I issued 'make', the build entered an infinite loop. It
> took
> > me a day and a half to realize this. >_<
> >
> > After much digging around, I found a source online that suggested that
> this
> > would happen if the glibc headers were already present under
> > $PREFIX/include. I moved /tools/include to /tools/include-old, copied the
> > kernel headers back to /tools/include, and now the build seems to be
> > proceeding normally.
> >
> > Obviously, this was caused by a mistake on my part, but it seems like an
> > easy enough mistake to make, and the result is not intuitive to debug.
> >
> > So, can I suggest adding a bullet point to the book addressing this
> > potential trap?
>
> This seems odd.  I haven't tried rebuilding using Chapter 5 procedures,
> but I've certainly rebuilt from a standard LFS system without problems.
>
> Moving /tools/include would also move the kernel headers so you would
> need to back up and reinstall at least those.  In cases like these,
> especially for those only a few steps into Chapter 5, we usually say
> that you should wipe everything and just start over.
>
> Can you give us a pointer to the online source you are referring to?
>
>   -- Bruce
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to