Commit Graph

3138 Commits

Author SHA1 Message Date
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
Bruce Dubbs
a28bb20e62 Alternate fix for Ch6 coreutils. 2023-04-27 10:19:31 -05:00
Bruce Dubbs
bd5b888ad3 Create new branch for gcc13 2023-04-27 10:01:17 -05:00
Thomas Trepl
d09e490fb2 Automatic merge of trunk into multilib 2023-03-05 11:16:29 +01:00
Xi Ruoyao
770e789527
Package updates
- Update to systemd-253
- Update to bc-6.3.1
- Update to linux-6.2.2
- Update to procps-ng-4.0.3
- Update to iproute2-6.2.0
- Update to meson-1.0.1
- Update to make-4.4.1
- Update to elfutils-0.189
2023-03-05 10:57:09 +08:00
Thomas Trepl
f0cbef54b1 Merge & fix conflicts 2022-11-23 10:45:41 +00:00
Xi Ruoyao
f01f8a56da
gcc: remove --disable-decimal-float from pass 1 and 2
We need to enable decimal float here or MPFR will be built w/o decimal
float support.  Then 2 of 183 tests will be skipped, and this will also
cause an ICA issue.

Q: Why we need decimal float in pass 1?
A: We need pass-1 GCC with decimal float support to build decimal float
routines in pass-2 libgcc.
2022-11-22 18:22:53 +08:00
Thomas Trepl (Moody)
cb7745e2c2 Automatic merge of trunk into multilib 2022-11-12 00:30:13 +01:00
Bruce Dubbs
9292384bac Package updates and a fix.
Fix make-4.4 bug.
Update to wheel-0.38.4 (Python Module).
Update to texinfo-7.0.
Update to sysvinit-3.05.
Update to shadow-4.13.
Update to sed-4.9.
Update to meson-0.64.0.
Update to linux-6.0.7.
Update to elfutils-0.188.
Update to bc-6.1.1.
2022-11-11 09:44:13 -06:00
Thomas Trepl (Moody)
5f3a32820a Automatic merge of trunk into multilib 2022-11-04 08:03:33 +01:00
David Bryant
6dff9ef949 Edit English idiom. punctuation, etc., throughout chapter 6. 2022-11-03 19:29:02 -05:00
Thomas Trepl (Moody)
44e2a0487d Automatic merge of trunk into multilib 2022-10-10 00:30:11 +02:00
Xi Ruoyao
68588615e6
temp bash: fix "support/config.guess: Permission denied"
In bash-5.2 tarball config.guess is not executable, so we need to run
the script with an explicit "sh".
2022-10-09 13:35:48 +08:00
Thomas Trepl (Moody)
1835fca016 Adopt PIE/SSP changes 2022-09-13 10:07:14 +02:00
Thomas Trepl (Moody)
3c20ad9381 Automatic merge of trunk into multilib 2022-09-10 00:30:10 +02:00
Pierre Labastie
0611f706d5 Use default-pie and default-ssp flags in gcc
Committing only the commands for now, so that others can test the
build. TODO:
- add command explanations
- add changelog
- comment on failing tests in binutils and gcc
2022-09-09 16:15:06 +02:00
Thomas Trepl (Moody)
f867843417 Automatic merge of trunk into multilib 2022-09-01 10:54:54 +02:00
Xi Ruoyao
baecd49c48
gcc-pass2: remove unnecessary --enable-initfini-array option
Forgot to remove this one when I removed it in pass 1...

Reference: https://gcc.gnu.org/r12-1328
2022-09-01 14:04:34 +08:00
Thomas Trepl (Moody)
192dda3521 Automatic merge of trunk into multilib 2022-08-23 21:34:26 +02:00
Bruce Dubbs
f2af13d7a0 Intermediate update prior to lfs-11.2-rc1 2022-08-20 10:35:01 -05:00
Thomas Trepl (Moody)
c84195d1f8 Automatic merge of trunk into multilib 2022-08-20 05:45:09 +02:00
Thomas Trepl (Moody)
8bde866e85 Fix binutils instructions 2022-08-19 18:55:20 +02:00
Xi Ruoyao
6099a47149
Remove libtool archive (.la) files in Chapter 5 and 6
They are really harmful.  In Binutils pass 2, libstdc++.la caused the
building system to use host /usr/lib/libstdc++.so for gprofng.  We now
has disabled gprofng for pass 2, but the similar issue also exists in
GCC pass 2.  In a normal LFS build, the building system silently uses
/usr/lib/libstdc++.so (I guess it does not blow up simply because some
blind luck); in a real cross build (x86 -> ARM for example) the build
will fail.

Remove the .la files to fix this issue.  Instead of only modifying
clfs-ng, it makes more sense to apply the change for trunk: though
the build does not fail, using host library is still a contamination.
2022-08-19 12:41:48 +08:00
Thomas Trepl (Moody)
3ebe8768cc Merge upstream 2022-08-07 11:00:44 +02:00
Bruce Dubbs
1b11115cd2 Package updates.
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.
2022-08-06 17:40:17 -05:00
Thomas Trepl (Moody)
f96a6d4272 Adopt changes in ncurses to m32,mx32 instructions 2022-06-29 22:29:02 +02:00
Thomas Trepl (Moody)
0160d68e19 Automatic merge of trunk into multilib 2022-06-29 22:20:16 +02:00
Pierre Labastie
f8b27abcda Generate shared C++ bindings for ncurses
Presently we let the build system generate static C++ bindings, and
then we remove them. Note that we could also prevent generating
any C++ binding, since nothing in LFS/BLFS use them, but it seems to
me that generating the shared ones is closer to what is done for
other packages.
2022-06-29 14:08:29 +02:00
Thomas Trepl (Moody)
e8d4ea4b97 Automatic merge of trunk into multilib 2022-05-28 05:45:10 +02:00
Xi Ruoyao
f81a8a4a3c
fix command for removing libncurses++w.a
What was I doing ?!
2022-05-27 21:50:53 +08:00
Thomas Trepl (Moody)
77f8d5758f Automatic merge of trunk into multilib 2022-05-27 05:45:09 +02:00
Xi Ruoyao
2bb813a1e8
ncurses: remove libncurses++w.a from temp ncurses 2022-05-26 19:30:40 +08:00
Thomas Trepl (Moody)
3a72ffa858 Adopt upstream changes 2022-05-11 08:56:48 +02:00
Xi Ruoyao
d70e621d8e
gcc-12: remove unneeded sed for PR100017 in pass 2
Reference: https://gcc.gnu.org/r12-6406
2022-05-06 21:13:27 +08:00
Thomas Trepl (Moody)
85acfcb0c8 Adopt changes to multilib instrustions. ML CURRENTLY BROKEN 2022-03-19 08:56:37 +01:00
Thomas Trepl (Moody)
02c702c62e Automatic merge of trunk into multilib 2022-03-17 15:30:05 +01:00
Thomas Trepl (Moody)
d9bec1e96a Automatic merge of trunk into multilib 2022-03-17 15:28:37 +01:00
Bruce Dubbs
c9629e0347 Typo 2022-03-06 15:37:02 -06:00
Xi Ruoyao
3bb463d33d
gcc-pass2: document *_FOR_TARGET parameters 2022-03-02 18:02:07 +08:00
Xi Ruoyao
8e0f8a9a52
gcc pass2: use --target=$LFS_TGT instead of many {C,CXX}_FOR_TARGET
There is also a "GCC_FOR_TARGET" which was not set correctly.  The
--target=$LFS_TGT parameter can set up all of these variables as we
expected.
2022-03-02 18:00:10 +08:00
Xi Ruoyao
459d4936ae
fix GCC PR100017 and enable libstdc++ for pass 2
This is the issue preventing us from cross-compiling libstdc++ in
Chapter 6.  By fixing this issue we can remove a seperate pass 2 for
libstdc++ and simplify the instruction.

The upstream fix will be released in 11.3 and 12.0, so we can remove the
first sed upgrading gcc next time.
2022-02-27 23:36:55 +08:00
Thomas Trepl (Moody)
bf8012e6d5 Automatic merge of trunk into multilib 2022-02-11 05:45:10 +01:00