On Mon, 2020-10-26 at 16:08 -0600, Alexander Brassel wrote:
> Additionally, 
> 
> here is running sed:
> 
> ```
> make DESTDIR=$LFS install
> cd ..
> cd ..
> cd gcc
> ls
> case $(uname -m) in   x86_64)     sed -e '/m64=/s/lib64/lib/' -i.orig
> gcc/config/i386/t-linux64;   ;; esac
> rm -rf build
> mkdir build && cd build
> cat $LFS_TGT 
> mkdir -pv $LFS_TGT/libgcc
> ln -s ../../../libgcc/gthr-posix.h $LFS_TGT/libgcc/gthr-default.h
> ```

The sed seems ok.
I think I am unable to find what went wrong, but having the libgcc_s
and libstdc++ library in $LFS/usr/lib64 is not expected with the 10.0
book, nor is it expected to have a $LFS/usr/lib64 directory. Only
$LFS/lib64 should exist, with only symlinks inside it.

You'd better start over: remove anything in $LFS except the
$LFS/sources directory (and $LFS/lost+found if it exists), make sure
there are no extracted tarballs in $LFS/sources
("find $LFS/sources -maxdepth 1 -mindepth 1 -type d" for example).
And restart at the beginning of chapter 4. Pay special attention to
instructions containing "64". Also, be sure to delete the extracted
packages when you are done with them. Check whether /usr/lib64 exists
after each package installation, just in case.

Pierre


-- 
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

Reply via email to