Am Montag, den 11.05.2020, 19:51 +0800 schrieb Xi Ruoyao via lfs-dev:
> I just redone LFS build for GCC-10.1.0.  I proposed several improvements 
> during
> the process:
> 
> At first, some changes suggested by Firas:
> 
> 1. Remove bzip2 in Chap. 5.  No other changes needed.
> 
> 2. Remove ncurses in Chap. 5.  Move Chap. 6 readline after ncurses to satisify
> it.
> Notes:
> (1) Chap. 5 Python 3 can be built w/o ncurses, just lacking one module we 
> don't
> need.
> (2) We moved readline before bc to satisify GNU bc, but now Gavin's bc doesn't
> need readline.
> (3) It slightly reduces the functionality of Chap. 5 bash.  Long command lines
> won't be wrapped automatically anymore.
Just had the joy to do a bit manually on such kind of cmdline (help
testing Pierres branch) and there we ran into this. Really no fun.
Reme
mber that we always tell the users to do everything manually (at least
for the first time) and do not script because scripts add another
layer of errors.
So we "force" them to use such kind of command line - I'd say second-
best.

> 
> 3. Remove flex in Chap. 5.  Move Chap. 6 flex before Binutils so `ranlib` and
> `ar` can link to libfl.so.  It seems bison test suite does not depends on flex
> any more.
> 
> However Firas' other suggestions are proved to be impossible.  Glibc requires
> bison, gzip, gettext, perl, texinfo, python, and xz (to be untarred) so all of
> them need to stay in Chap. 5.  Util-linux can't be removed from Chap. 5 due to
> its circular dependency with systemd/eudev.
> 
> And:
> 
> 4. Move Chap. 6 zstd before GCC, so GCC can link to libzstd.so and use zstd to
> compress LTO stream.
> 
> 5. Remove PKG_CONFIG_PATH=/tools/lib/pkgconfig in Chap. 6 kbd.  It seems
> unneeded now.
> 
> 6. Remove PERL5LIB=$PWD/tests/ in Chap. 6 make.  It is unneeded now.
> 
> 7. Add:
> 
>   mkdir /tools/lib/locale
>   localedef -i POSIX -f UTF-8 C.UTF-8 2> /dev/null || true
> 
> into Chap. 5 Glibc.  It will satifisy Chap. 6 man-db test.
> 
> 8. Remove libctf{,-nobfd}.a (along with libbfd.a and libopcodes.a) in 
> "Cleaning
> up" section.
> 
> Are they OK to be commited into trunk?
> -- 
> Xi Ruoyao <xry...@mengyan1223.wang>
> School of Aerospace Science and Technology, Xidian University
> 

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to