Commit Graph

3210 Commits

Author SHA1 Message Date
Thomas Trepl
0a4b9a0b54 Merge branch 'trunk' into multilib 2025-06-15 02:25:22 +02:00
Pierre Labastie
5e4ff8cb2e Fix "Too many levels of symbolic links" in chapter 8 ncurses
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
2025-06-13 15:52:08 +02:00
Thomas Trepl
bdaae92231 Merge trunk 2025-06-05 06:52:43 +02:00
Bruce Dubbs
e481799cdf Package updates.
Update to ncurses-6.5-20250531.
Update to readline-8.3-rc2.
Update to bash-5.3-rc2.
Update to Python-3.13.4.
2025-06-04 13:56:37 -05:00
Thomas Trepl
b137e61a15 Merge 2025-06-02 06:39:54 +02:00
Xi Ruoyao
30ec5ae0ea
gcc-pass2: Remove empty line 2025-05-31 19:27:05 +08:00
Thomas Trepl
d76971c096 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
Bruce Dubbs
37c303637d Adjust spacing for gcc-pass2. 2025-05-22 13:09:21 -05:00
Bruce Dubbs
68528292e6 Changes for gcc15. 2025-05-21 16:46:52 -05:00
Thomas Trepl
fb626f9de1 Add a patch fixing an issue when host system already has gcc-15 2025-05-21 14:32:15 +02:00
Thomas Trepl
2d59260641 Merge 2025-05-07 17:20:22 +02:00
Bruce Dubbs
f6dbeeb1d3 White space reduction in instruction blocks. 2025-04-30 12:51:03 -05:00
Thomas Trepl
833a5234ff Changes required for gcc-15 2025-04-28 08:43:37 +02:00
Thomas Trepl
f15bd6cfff Merge 2025-04-24 13:43:45 +02:00
Xi Ruoyao
abd4750c89
diffutils: Use an easier work around for the strcasecmp check and improve the explanation 2025-04-15 18:17:33 +08:00
Thomas Trepl
d0c2d428e6 Merge branch 'trunk' into multilib 2025-04-15 05:30:47 +02:00
Zeckmathederg
9103be9005 chapter06/Diffutils: Elaborate what the sed does. 2025-04-14 18:02:27 -06:00
Bruce Dubbs
d470cdb21c Package updates.
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.
2025-04-14 13:10:11 -05:00
Xi Ruoyao
f3e6b8964f
make: Remove --without-guile from chapter 6
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.
2025-04-13 12:45:23 +08:00
Thomas Trepl
bd1252e439 Remove unneccessary --enable-multilib switch from binutils 2025-02-25 12:16:28 +01:00
Thomas Trepl
1d4d4fb9bf Merge branch 'trunk' into multilib 2025-02-03 10:59:57 +01:00
Bruce Dubbs
4f401fb372 Package updates.
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.
2025-02-02 20:02:39 -06:00
Thomas Trepl
8370006d59 Merge branch 'ml-tweak-gcc' into multilib 2024-11-12 02:16:24 +01:00
Thomas Trepl
d6844914fd Automatic merge of trunk into multilib 2024-11-09 00:30:14 +01:00
Thomas Trepl
2b810385f9 Set gcc default for building m32 objects with -mstackrealign 2024-11-08 18:56:24 +01:00
Xi Ruoyao
39c800d18c
bash: Remove bash_cv_strtold_broken=no workaround
It's no longer needed for bash-5.2.37, the upstream has fixed the bug at
https://ftp.gnu.org/gnu/bash/bash-5.2-patches/bash52-033.
2024-11-08 21:04:37 +08:00
Thomas Trepl
d58ce83d07 Automatic merge of trunk into multilib 2024-09-22 09:12:01 +02:00
Bruce Dubbs
c5fbd9da12 Minor grammar fix. 2024-09-04 09:59:12 -05:00
Xi Ruoyao
e4b4449d11
ncurses: Simplify evading from mawk
Since it's overridable with the command line, just override it instead
of using a sed.
2024-09-04 20:21:58 +08:00
Thomas Trepl
75b797bbe7 Automatic merge of trunk into multilib 2024-08-19 12:24:36 +02:00
Xi Ruoyao
217802b9c0
gcc-pass2: Fix description of LDFLAGS_FOR_TARGET=
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).
2024-08-19 13:56:08 +08:00
Thomas Trepl
b1169eb645 Automatic merge of trunk into multilib 2024-07-19 00:30:10 +02:00
Xi Ruoyao
6e6641f9b7
binutils: Add --enable-new-dtags
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.
2024-07-18 11:13:20 +08:00
Thomas Trepl
d9c8637857 Automatic merge of trunk into multilib 2024-06-23 00:30:20 +02:00
Xi Ruoyao
201aa93863
Move punctuation/comma into quotes for <xref>s
We are using American rule for punctuation/comma vs. quotes.  We've
fixed most cases but not <xref>s.
2024-06-22 11:43:31 +08:00
Thomas Trepl
e74dffd439 Automatic merge of trunk into multilib 2024-05-28 00:30:06 +02:00
Xi Ruoyao
32c050cb58
gcc-pass2: Don't ambigiously use "previously" 2024-05-22 16:22:14 +08:00
Thomas Trepl
91133168e0 Automatic merge of trunk into multilib 2024-05-16 00:30:22 +02:00
Xi Ruoyao
87e5e08d34
gcc pass2: --disable-libsanitizer is no longer strictly needed
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.
2024-05-15 19:48:50 +08:00
Thomas Trepl
029371fe31 Create libncurses.so, not libcurses.so 2024-05-13 19:05:59 +02:00
Thomas Trepl
f651bed4f0 Merge to m{,x}32 and fix instructions 2024-05-13 08:59:17 +02:00
Thomas Trepl
bc33d9d7a0 Merge upstream 2024-05-12 09:26:02 +02:00
Bruce Dubbs
340e17adc6 Package updates.
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.
2024-05-11 15:17:56 -05:00
Thomas Trepl
942172eb27 Automatic merge of trunk into multilib 2024-05-02 00:30:20 +02:00
Xi Ruoyao
3abde5946b
ncurses: Remove explicit --enable-widec in chapter 6 like chapter 8 2024-05-01 15:49:51 +08:00
Thomas Trepl
17695e5214 Automatic merge of trunk into multilib 2024-05-01 08:17:14 +02:00
Thomas Trepl
5a661c39b0 Fix changing entity name 2024-05-01 08:16:22 +02:00
Thomas Trepl
2d643acb93 Automatic merge of trunk into multilib 2024-04-27 00:30:09 +02:00
Xi Ruoyao
7db37658c2
chapter06/ncurses: Use ncurses-release instead of ncurses-version for library file names
Reported-by: Stefano Moretti <stemoretti@gmx.com>
Closes: https://lists.linuxfromscratch.org/sympa/arc/lfs-dev/2024-04/msg00051.html
2024-04-26 20:02:16 +08:00
Thomas Trepl
f6a43f612c Automatic merge of trunk into multilib 2024-01-27 00:30:17 +01:00