1358 Commits

Author SHA1 Message Date
Zeckmathederg
473bf39d16 Glibc: \ alignment. 2025-10-03 14:29:25 -06:00
Zeckmathederg
e860b761df GCC Pass 1 & 2: \ alignment, reduce char count. 2025-10-03 14:24:56 -06:00
Thomas Trepl
1373397bab Revert "Use linux kernel patch file"
This reverts commit 959aa89f8b.

LFS project has decided to not go base-patch.  Therefore ML branch
reverts from the PoC back to what core LFS does.
2025-09-04 09:26:01 +02:00
Thomas Trepl
b23d08908c Merge 2025-08-18 07:27:01 +02:00
Thomas Trepl
ab71434d65 (Re)add an accidently removed end tag. 2025-08-16 05:38:35 +02:00
Thomas Trepl
9033e119b9 Merge 2025-08-16 05:29:06 +02:00
Xi Ruoyao
6026724d1a gcc-pass1: Explain -i.orig
A frequently asked question is "why not using -i.orig instead of -i for
${some_random_sed_command_in_book}" but I really expect people to learn
from this example and do it on their own if they really need...
2025-08-15 11:04:05 +08:00
Thomas Trepl
959aa89f8b Use linux kernel patch file 2025-08-13 04:03:19 +02:00
Thomas Trepl
57f97c0ed6 Merge trunk 2025-07-21 07:13:36 +02:00
Pierre Labastie
78bec9c160 Add an explanation for --with-sysroot
There are periodically users reporting that the --with-sysroot option
does not exist in binutils and gcc. Add a note telling that not all
aoptions are visible at the top level of the tree, unless
--help=recursive is passed. Take --with-sysroot as an example, so
that users have everything to find it...
2025-07-20 09:28:43 +02:00
Thomas Trepl
d76971c096 Merge gcc15 branch (which will be merged to trunk soon) 2025-05-31 07:59:23 +02:00
Thomas Trepl
fa5dc14333 Adopt changes in glibc to the m{,x}32 variants 2025-05-23 06:59:04 +02:00
Thomas Trepl
9fb5c6d8c0 Merge branch 'trunk' into multilib 2025-05-23 06:46:09 +02:00
Xi Ruoyao
a45bbbc391 Drop the min-kernel alignment hack
Someone is really insistant on "you cannot have any extra whitespace" so
the hack will just not work.  Let's drop it and simply move the
--enable-kernel= switches to the last line.
2025-05-23 12:23:43 +08:00
Zeckmathederg
a5fafe2b72 gcc-pass1: More wording.
Sorry about frequent commits, should be the final one.
2025-04-30 16:53:25 -06:00
Zeckmathederg
2f01fb3beb gcc-pass1: Typo and more different wording for gcc-15 note. 2025-04-30 16:20:04 -06:00
Zeckmathederg
649caac4f1 gcc-pass1: Wording for gcc-15 note. 2025-04-30 16:16:18 -06:00
Bruce Dubbs
f6dbeeb1d3 White space reduction in instruction blocks. 2025-04-30 12:51:03 -05:00
Thomas Trepl
ce2903077c Add a note about gcc-15 to chap5/gcc 2025-04-28 09:00:23 +02:00
Thomas Trepl
9c1666c842 Merge trunk 2025-03-29 18:07:20 +01:00
Xi Ruoyao
8cd3ab533d toolchaintechnotes: Typos
Just found the typos translating my own words :(.
2025-03-28 00:11:16 +08:00
Xi Ruoyao
576a368232 glibc: Fix a full stop vs. quote issue in pass 1 2025-03-27 23:13:58 +08:00
Xi Ruoyao
87e90fb633 glibc: Make the sanity check more complete for pass 1
Fixes #5651.
2025-03-27 23:11:52 +08:00
Xi Ruoyao
7e4fd2e198 glibc: Drop --with-headers in pass 1
I cannot see why this is ever needed.  The default is "the compiler
default" which should be correct as the compiler has been configured
--with-sysroot.  And the explanation for this switch is just repeating a
common misunderstanding.  In fact glibc **never** attempts to figure out
what features the kernel has from the headers.  Instead it depends on
the kernel-features.h files in the source tree and the --with-kernel
value to determine the kernel features that it can rely on.
2025-03-27 21:04:46 +08:00
Thomas Trepl
bd1252e439 Remove unneccessary --enable-multilib switch from binutils 2025-02-25 12:16:28 +01:00
Thomas Trepl
2fbddc9fec Add a note about the new sed in gcc 2024-11-12 08:12:40 +01:00
Thomas Trepl
2b810385f9 Set gcc default for building m32 objects with -mstackrealign 2024-11-08 18:56:24 +01:00
Thomas Trepl
faf4963f4c Fix some typos 2024-11-07 14:48:54 +01:00
Thomas Trepl
56a8f14782 Automatic merge of trunk into multilib 2024-10-26 00:30:14 +02:00
Bruce Dubbs
8a0ae36a91 Fix extra spacing around some xml tags. 2024-10-25 11:37:55 -05:00
Thomas Trepl
f33eca9bf1 Linker name depends on target system, not host system 2024-08-30 10:20:37 +02:00
Thomas Trepl
d2eb97b78a Automatic merge of trunk into multilib 2024-08-28 00:30:14 +02:00
Bruce Dubbs
eae9237225 Add more detail to the About SBUs page. 2024-08-26 17:59:31 -05:00
Thomas Trepl
08dc6a9845 Automatic merge of trunk into multilib 2024-08-10 00:30:13 +02:00
Andrew Kreimer
a18957940c docs: fix a typo
In section "5.3. GCC-13.2.0 - Pass 1",
the string "The are not strictly needed"
should have "They".

Fix that.
2024-08-09 22:24:18 +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
dea5385dda ... and finally remove commented commands 2024-06-30 16:45:28 +02:00
Thomas Trepl
8778c711e9 Fix double-dash 2024-06-30 13:41:11 +02:00
Thomas Trepl
800ee38e42 More updates on glibc instr 2024-06-30 13:22:56 +02:00
Thomas Trepl
62a13d02d2 Fix missleading option at glibc and rmv nscd in chap5 too 2024-06-30 13:16:47 +02: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
31a18d0226 Automatic merge of trunk into multilib 2024-01-26 00:30:11 +01:00
Xi Ruoyao
ea93c117f2 treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +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
89c61e5d99 Automatic merge of trunk into multilib 2024-01-05 00:30:09 +01:00
Bruce Dubbs
acde0a383a Typo 2024-01-04 09:44:21 -06:00
Thomas Trepl
6c474a791e Automatic merge of trunk into multilib 2023-12-31 12:43:21 +01:00