On Fri, Jun 19, 2020 at 09:13:40PM +0200, Frans de Boer wrote:
> Dear all,
>
> I follow every step but always stumble on the '$LFS_TGT-gcc dummy.c' - in
> the first glibc.c section - in that crti.o can't be located by ld.
> Looking for crti.o, I find it residing in the $LFS/usr/lib64 directory. So,
> why can't ld find it?
>
> --- Frans.
>
I'm not sure where you are in glibc when this fails (my log shows
that glibc installs this in /mnt/lfs/usr/lib/crti.o)
Maybe you missed the sed in gcc pass 1 ? (pasted from the html)
On x86_64 hosts, set the default directory name for 64-bit libraries to “lib”:
case $(uname -m) in
x86_64)
sed -e '/m64=/s/lib64/lib/' \
-i.orig gcc/config/i386/t-linux64
;;
esac
--
He died at the console, of hunger and thirst.
Next day he was buried, face-down, nine-edge first.
- the perfect programmer
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style