Calling Testers

Archaic archaic at
Mon May 12 11:04:49 PDT 2003

On Mon, May 12, 2003 at 09:32:27AM -0600, Gerard Beekmans wrote:
> On May 12, 2003 03:37 am, Archaic wrote:
> > From outside chroot, ldd gives:
> >
> > [tty3 root 04:34am /lfs/stage1/bin] ldd /usr/bin/gcc
> > => /lib/ (0x4001b000)
> >         /lib/ => /lib/ (0x40000000)
> There's your problem. It should say /stage1/lib/ and 
> /stage1/lib/
> This means you didn't "lock in Glibc" properly prior to going chapter 5 
> GCC-Pass2

Well I ldd'd the incorrect gcc above (/usr/bin/gcc), but upon redoing it
with ldd /stage1/bin/gcc I get the same results. But what's puzzling me
is I went through my .bash_history and find this:

make install
make -C ld clean
make -C ld LIB_PATH=/stage1/lib
cd ..
tar jxvf /fileserver/packages/plfs/gcc-3.2.3.tar.bz2

make localedata/install-locales
cd ..
rm -rf glibc-*
cd binutils-build/
make -C ld install-data-local
sed -e 's@/lib/ at g' \
-e 's@/lib/ at g' \
cd ..
rm -rf binutils-*

make install
make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib

That's verbatim with one exception, I re-added the escape for proper
wrapping. Now, seeing as how I forgot to unset $SPECFILE (which is
irrelevant by itself) I'm wondering if I forgot anything else. A proper
study of the history is in order. Ugh. :(


Non-cooperation with evil is as much a duty as cooperation with good.

- Mohandas Gandhi

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list