Matthew Burgess wrote:
/tools/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../../i686-pc-linux-gnu/bin/ld:


Sorry for the noise if this is my own doing, but the above line caught my eye.

I just finished building the latest svn and noticed much the same after installing GCC in ch6. Running the sanity tests up to that point worked as expected, so I figured everything was ok, but the sanity check in 6.13 (re-adjusting the toolchain) failed-ish.

I get the 'Requesting program interpreter: /lib/ld-linux.so.2,' 'attempt to open /lib/libc.so.6 succeeded,' and 'found ld-linux.so.2 at /lib/ld-linux.so.2' lines but not the 'attempt to open /usr/lib/crt?.o succeeded' lines.

If I change the grep to '/crt*.o' it shows something like this IIRC:
/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../crt1.o succeeded

I also ended up with multiple copies of the compilers (not symlinked) as in:
g++
i686-pc-linux-gnu-g++
(IIRC, there were 3 variants for g++ all the same size, a couple gcc, ..)

I assume neither the presence of /../../../ nor the additional compilers is really a problem, I've just never noticed them before. The /../../../ certainly isn't necessary and I wouldn't think the multiple copies are either. When I stumbled upon this in the final ch6 sanity check, I figured I made a typeo and started over, but I got the same result again.

All the other toolchain package tests pass as expected.

Any idea what I might have done wrong to get this?

Thanks,
Jeremy.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to