Commit Graph

3179 Commits

Author SHA1 Message Date
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
Pierre Labastie
360fdfca9c Fix punctuation in quotes, and quote signs
- period and comma inside quotes
- " to <quote>
- some " to <literal> when it is a var value
2024-01-26 18:28:53 +01:00
Thomas Trepl
bb1dfaf649 Automatic merge of trunk into multilib 2024-01-25 12:41:51 +01:00
Xi Ruoyao
943f22504e
ncurses: Use symlinks instead of linker scripts
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.
2024-01-22 00:27:45 +08:00
Xi Ruoyao
d282f88dea
ncurses: Modify the header to always use the ABI of ncursesw
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.
2024-01-22 00:27:45 +08:00
Thomas Trepl
5d2d864a97 Automatic merge of trunk into multilib 2024-01-19 00:30:10 +01:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Thomas Trepl
6c474a791e Automatic merge of trunk into multilib 2023-12-31 12:43:21 +01:00
Xi Ruoyao
6fec3f51e7
binutils: Add --enable-default-hash-style=gnu for configure (#5401) 2023-12-31 02:37:07 +08:00
Thomas Trepl
2de9e15379 Automatic merge of trunk into multilib 2023-12-03 16:39:45 +01:00
Xi Ruoyao
642f779f64
gcc-pass2: Fix the indent of the sed command in case 2023-12-03 12:42:28 +08:00
Thomas Trepl
65ef92457f Automatic merge of trunk into multilib 2023-12-03 00:30:10 +01:00
Bruce Dubbs
a851a78ded Formatting 2023-12-02 14:41:09 -06:00
Thomas Trepl
349012b17f Automatic merge of trunk into multilib 2023-11-24 00:30:19 +01:00
Douglas R. Reno
5e8bab73a1 Chapter 6 Ncurses: minor text tweaks 2023-11-22 19:18:51 -06:00
Thomas Trepl
6c46cbb9dd Automatic merge of trunk into multilib 2023-09-26 00:30:11 +02:00
Thomas Trepl
96f7f5ed58 Remove textual description of an arg no loger in instructions 2023-09-25 14:46:25 +02:00
Thomas Trepl
b84eff0308 Automatic merge of trunk into multilib 2023-09-11 00:30:21 +02:00
Xi Ruoyao
cb6fcea9bf
binutils-pass2: Minor reword 2023-09-10 15:25:04 +08:00
Thomas Trepl
b2f0a207d7 Automatic merge of trunk into multilib 2023-09-10 00:30:15 +02:00
Xi Ruoyao
9f9a9b4950
binutils-pass2: Reword the paragraph about libtool workaround
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...
2023-09-08 21:49:06 +08:00
Xi Ruoyao
aa5fa04a5a
coreutils: Drop gl_cv_macro_MB_CUR_MAX_good override
It's not needed anymore with 9.4.
2023-09-08 17:10:14 +08:00
Thomas Trepl
03d43068f4 Synchronize instructions dft<-->ML 2023-08-09 08:24:02 +02:00
Thomas Trepl
3ecf6ae99d Merge branch 'trunk' into multilib 2023-08-01 22:49:01 +02:00
Bruce Dubbs
be5b2e03fc Package updates:
Update to vim-9.0.1677.
Update to openssl-3.1.2.
Update to man-pages-6.05.
Update to binutils-2.41.
Update to gmp-6.3.0.
Update to glibc-2.38.
2023-08-01 13:52:22 -05:00
Thomas Trepl
da2e8cba81 Automatic merge of trunk into multilib 2023-07-29 09:05:05 +02:00
Xi Ruoyao
fb3b88e8f2
binutils-pass2: Remove libsframe.{a,la} like other libs 2023-07-25 12:33:32 +08:00
Thomas Trepl
b8707993c4 Automatic merge of trunk into multilib 2023-07-04 00:30:16 +02:00
Xi Ruoyao
f652d5bb26
gcc-pass2: Disable libsanitizer
Building libsanitizer needs libcrypt.  Disable it so we don't need to
add libxcrypt into Chapter 6.
2023-06-30 06:32:31 +08:00
Thomas Trepl
3b4ac52d47 Automatic merge of trunk into multilib 2023-05-08 00:30:09 +02:00
Xi Ruoyao
0eb98bde5f
coreutils: Explain gl_cv_macro_MB_CUR_MAX_good=yes 2023-05-07 10:56:05 +08:00
Thomas Trepl
7a51953cac Automatic merge of trunk into multilib 2023-05-02 05:36:43 +02:00