On Fri, 3 Feb 2006, Dan Nicholson wrote: >Date: Fri, 3 Feb 2006 10:37:07 -0800 >From: Dan Nicholson <[EMAIL PROTECTED]> >Reply-To: LFS Support List <[email protected]> >To: LFS Support List <[email protected]> >Subject: Re: Glibc config error help request > >On 2/3/06, rick <[EMAIL PROTECTED]> wrote: >> Using LiveCD 6.1.1 as host I received the following config error at sec 6.11: >> ><snip> >> configure:2672: gcc -c conftest.c >&5 >> gcc: installation problem, cannot exec >> `/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../. >> ./../i686-pc-linux-gnu/bin/as': No such file or directory >> configure:2675: $? = 1 >> configure: failed program was: >> | /* confdefs.h. */ > >If I had to guess, I would say the toolchain is not adjusted properly. > Let's try a sanity check. From Ch. 5.7 > >echo 'main(){}' > dummy.c >cc dummy.c >readelf -l a.out | grep 'ld-linux' > >Can you compile the dummy program? My guess is you're still linking >to the host system. The output from above should indicate >/tools/lib/ld-linux.so.2.
Its broke. when I try cc dummy.c the output is gcc: installation problem, cannot exec `/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../. ./../i686-pc-linux-gnu/bin/as': No such file or directory the same message as in the config.log. Looks like I fouled something up after 5.11 gcc pass2. I performed the sanity check there and the result was [Requesting program interpreter: /tools/lib/ld-linux.so.2] so apparently I broke it after that point. Will returning to the gcc pass2 and starting from there fix my screw-up or do I need to begin from scratch again? And to Jeremy Huntwork I haven't figured out how I managed to do this... > checking build system type... i686-pc-linux-gnuoldld > checking host system type... i686-pc-linux-gnuoldld but then Im not sure what what the correct output should have been. I presume it should have been ../i686-pc-linux-gnu/bin correct? Thanks Rick Richardson -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
