Between 6.9 and 6.10 Re-adjusting the toolchain

contact at logarytm.com contact at logarytm.com
Mon Oct 16 10:59:18 PDT 2006


> On Mon, Oct 16, 2006 at 06:55:17PM +0200, contact at logarytm.com wrote:
>> No such file or directory
>>
>> Since I didnt have the i486-linux I changed the $(gcc -dumpmachine) to
>> i686-linux which I have, but in this process I accidently cp -v over the
>> ld in /tools/bin/ld and /tools/i686-linux/bin/ld.
>>
>  So, gcc -dumpmachine thought you were on i486, but the things you
> had built were for i686.
>
>> the toolchain obviously doesnt work:
>> w00t:/LFS# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
>> SEARCH_DIR("/usr/i386-linux/lib")
>> SEARCH_DIR("/usr/local/lib")
>> SEARCH_DIR("/lib")
>> SEARCH_DIR("/usr/lib");
>>

>
>  You seem to be in /LFS when I would really expect you to be in /
> (that is, /mnt/lfs) although you are root.  This sort of suggests you
> aren't in chroot, in which case you have probably trashed the files
> in /tools.

My /LFS is the /mnt/lfs

>  The big question is, did you forget to chroot, or did the command
> to do so fail ?
Since it failed I exited the chroot environment

~djr



More information about the lfs-support mailing list