Originally Posted by magiknight
Physically look for this file, does it exist?
if it does, then I have a workaround for ld not linking against crti.o, it has nothing to do with ld at all, it's gcc's fault, it cant access the the file directly because of the assumption that crti.o is living is /usr/lib
Can you make a symlink from /tools/lib64 to /tools/lib? then rebuild gcc and see if that helps?
$ ls -l /tools
lrwxrwxrwx 1 root root 15 Oct 26 19:49 /tools -> /mnt/lfs/tools/
$ ls -l $LFS/tools/lib64
lrwxrwxrwx 1 lfs lfs 3 Oct 26 19:50 /mnt/lfs/tools/lib64 -> lib
$ ls -l $LFS/tools/lib64/crt*
-rw-r--r-- 1 lfs lfs 3637 Oct 26 21:07 /mnt/lfs/tools/lib64/crt1.o
-rw-r--r-- 1 lfs lfs 1512 Oct 26 21:07 /mnt/lfs/tools/lib64/crti.o
-rw-r--r-- 1 lfs lfs 1108 Oct 26 21:07 /mnt/lfs/tools/lib64/crtn.o
Still the same issue
Hope this helps