[Fwd: Re: Ch 5.10 Expect in SVN-20050621]

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Thu Jun 23 03:23:01 PDT 2005

Forwarding to lfs-dev for consideration.


>From Don Porter in the lfs-dev list:


I'm one of the maintainers of the Tcl programming language.

Lately we're seeing a small but increasing number of bug reports submitted
against Tcl coming from people attempting to follow the Linux From Scratch

I looked briefly at the online LFS instructions,


and it appears that Tcl is the first software package compile that is
attempted after the "adjustment of the toolchain".

In the bug reports we receive, it's clear that the problem is that
fundamental parts of the C library ( memcmp(), strstr(), etc.) are not
found when the configure/compile is attempted.  This suggests to me that
something has gone wrong with the toolchain adjustment step, and the LFS
user has a system that isn't working sufficiently well for building Tcl.

I see that at the end of the "Adjusting the Toolchain" section,


a simple test is provided to check whether the toolchain adjustment was
completed successfully.  Would it be possible to enhance that test so that
the ability to link against glibc and run programs using glibc is also

A test and failure at that point would help LFS users get on the right
track earlier, and would spare the Tcl developers getting sent these bogus
bug reports.

Thanks for whatever help/advice you can offer, and if this message is
misdirected, please offer guidance where else I should send it.

More information about the lfs-dev mailing list