The kill and uptime programs are already disabled by default since 9.11
release, having this switch causes configure to warn about its
redundancy.
This switch is already removed from ch08 earlier.
In gcc-pass2 the C++ std module fails to build, similar to the issue
we've fixed for gcc-pass1 at commit 2be87ced88. Here it's even more
complicated than gcc-pass1: the problem is the libstdc++ fenv.h
has #include_next <fenv.h> and expects the directive to find glibc
fenv.h, but with CXX_FOR_TARGET=$LFS_TGT-g++ (the default) the compiler
finds it's own (installed at ch.05 libstdc++) fenv.h, then
this #include_next directive finds fenv.h in the gcc-pass2 build, and
because of the _GLIBCXX_FENV_H include guard gcc-pass2 fenv.h won't pull
the glibc header anymore. Then the build will report errors like
"cannot find fenv_t" etc.
To resolve the issue, pass CXX_FOR_TARGET="$LFS_TGT-gcc -nostdinc++"
like what the top-level build system does for a native build.
Update to shadow-4.20.0.
Update to vim-9.2.0858 (Security Update).
Update to systemd-261.2.
Update to sqlite-3.53.4.
Update to pkgconf-3.0.4.
Update to perl-5.44.0.
Update to linux-7.1.5.
Update to libtool-2.6.2.
Update to iana-etc-20260723.
Update to glibc-2.44 (Security Update).
Update to binutils-2.47.
Doing so is not strictly needed but it improves the consistency and
saves some CPU cycles building LFS. It may also potentially avoid a
build failure in case GCC pass 2 fixincludes breaks a pattern in a
header from some release of glibc or kernel.
Update to XML-Parser-2.54 (Security update). (again)
Update to vim-9.1.0272.
Update to systemd-260.1.
Update to perl-5.42.2.
Update to mpc-1.4.0.
Update to meson-1.10.2.
Update to linux-6.19.10.
Update to iana-etc-20260327.
Update to groff-1.24.1.
Update to autoconf-2.73.
Setting gl_cv_func_strcasecmp_works to "y" (or anything not ending
with "yes") allows configure to complete, but with settings that
prevent using the system strcasecmp function. The correct setting
of the variable is "yes" (or anything ending with "yes"), which
allows configure to complete, and the systemstrcasecmp function
to be used
Thanks to Manuel Jacob for the report.
Update to vim-9.1.2144.
Update to setuptools-82.0.0 (Python module).
Update to man-pages-6.17.
Update to m4-1.4.21.
Update to linux-6.18.10.
Update to less-692.
Update to iana-etc-20260202.
Update to binutils-2.46.0.
Also the Makefle of LFS was chagned to make the default build to be
for systemd.
Update to wheel-0.46.3.
Update to shadow-4.19.2.
Update to setuptools-80.10.2.
Update to packaging-26.0.
Update to openssl-3.6.1 (Security update).
Update to meson-1.10.1.
Update to linux-6.18.7.
Update to less-691.
Update to iana-etc-20260123.
Update to grub-2.14.
Update to glibc-2.43 (Security update).
The problem is that TIC_PATH is nor honored anymore in chapter
6, so that tic from the host is used to create the terminfo
database in chapter 6. The problem is that old versions of
tic create symlinks in the database, while newer versions
create hardlinks. Since we use a DESTDIR install in chapter 8
(with a recent version of ncurses, so with hardlinks), and copy
it in place with cp -a, then it seems that copying hardlinks to
symlinks. If an old version of tic has been used in chapter 6,
this copies hardlinks to symlinks, which creates symlinks
pointing to themselves (cp bug?).
Anyway, the solution is to copy the auxilliary tic built
in chapter 6 to $LFS/tools/bin (suggestion by Xi Ruoyao).
Now, there is no need to set TIC_PATH or whatever because this
tic is in the PATH.
Bug first reported by Marcin Dulak. Analysis with the help of
Bruce Dubbs and Thomas Trepl.
Fixes https://wiki.linuxfromscratch.org/lfs/ticket/5744
Update to libcap-2.76.
Update to perl-5.40.2 (Security update).
Add packaging-24.2 (Python module). Needed for wheel.
Update to xz-5.8.1.
Update to wheel-0.46.1 (Python Module).
Update to sysklogd-2.7.2.
Update to Python3-3.13.3.
Update to openssl-3.5.0.
Update to meson-1.7.2.
Update to linux-6.14.2.
Update to libffi-3.4.8.
Update to iproute2-6.14.0.
Update to gzip-1.14.
Update to grep-3.12.
Update to gperf-3.2.1.
Update to gawk-5.3.2.
Update to diffutils-3.12.
Update to coreutils-9.7.
This seems just a remnant from the pre-cross-chap5 era. Now with the cross-
toolchain the build system cannot find guile headers and libraries, thus
guile should be disabled by default.
I've also tried this on a host distro with guile installed.
Update to vim-9.1.1071.
Update to iana-etc-20250123.
Update to binutils-2.44.0.
Update to coreutils-9.6.
Update to e2fsprogs-1.47.2.
Update to glibc-2.41.
Update to iproute2-6.13.0.
Update to libxcrypt-4.4.38.
Update to linux-6.13.1.
Update to man-pages-6.10.
Update to meson-1.7.0.
Update to perl-5.40.1.
Update to tcl8.6.16.
Update to tzdata2025a.
Update to xz-5.6.4.
Pass 2 libstdc++ still links to libgcc.a even with LDFLAGS_FOR_TARGET=,
despite this libgcc.a is from pass 2 instead of pass 1.
The difference between pass 2 libgcc and pass 1 libgcc is Glibc wasn't
installed when the pass 1 libgcc was built. This difference causes both
consequences (1) pass 1 libgcc lacks shared library and (2) pass 1
libgcc cannot support C++ EH, but it's not (1) causing (2).
This option makes ld use DT_RUNPATH instead of DT_RPATH. DT_RPATH is
generally considered bad because it takes precedence over
LD_LIBRARY_PATH. For example, eog is linked with -rpath /usr/lib/eog,
and with DT_RPATH if an old eog is already installed we are basically
impossible to debug a new eog build w/o overwriting the system
installation first or explicitly using "ld.so --inhibit-rpath" to
invoke it.
This "new" actually means "new in 2000," it's 24 years ago and all other
distros has enabled it. Thus I guess some unexplainable "test suite
uses installed library instead of the just built one" issues in BLFS are
actually caused by this difference: the package author just assumes
everyone is using DT_RUNPATH thus they just set LD_LIBRARY_PATH and
consider it enough to test with the just built libraries, but DT_RPATH
breaks this expectation.
Let's eliminate the difference as it seems not doing anything good and
doing so just takes one switch.
GCC 14 libsanitizer no longer depends on crypt.h. But let's keep this
option for reducing build time, just update the explanation.
Also remove libxcrypt from GCC depedency list.
Update to vim-9.1.0405.
Update to util-linux-2.40.1.
Update to linux-6.8.9.
Update to jinja2-3.1.4 (Python mpdule).
Update to iana-etc-20240502.
Update to gcc-14.1.0.
The effect will not change, but with symlinks ld can save some time
invoking open(), read(), etc. syscalls and parsing the linker scripts.
Note that I've also removed "libcursesw" symlink because this library
has never existed. Instead libcurses.so is created as a symlink
direct to libncursesw.so.
instead of the 8-bit ncurses.
We don't provide the 8-bit ncurses library and we are "faking" it using
ncursesw. Thus innocent package may be compiled with the 8-bit ABI
(because it does not know what we are doing and so it does not use
the "expected" preprocessor definitions to enable the wide ABI) but
linked against ncursesw, causing a potential ABI mismatch.
Well, I was blaming libtool too much. If the entire Binutils tree uses
libtool this won't happen. The problem is Binutils building system is
using libtool-style idiom on non-libtool components.
And this issue is not related to cross compiling, at all. A native
build can exploit the issue as well (see the updated comment).
Maybe I'll submit a patch to GCC (yes, not a typo, GCC is the upstream
of Binutils building system) to fix the issue when I have the mood...