Commit Graph
47 Commits
Author SHA1 Message Date
zeckma-tech 5e8025610e Merge branch 'trunk' into multilib
A lib32 build of mpdecimal is unnecessary. As it is, Python doesn't
provide any necessary 32-bit libraries necessary for most usecases, and
mpdecimal's use is mostly focused upon by Python.
64-bit dep -> 64-bit pkg doesn't necessitate 32-bit in the mix.
2026-07-23 17:33:53 -06:00
Xi Ruoyao 2be87ced88 ch05/libstdc++: set CXX=$LFS_TGT-gcc
In a normal GCC build the top-level Makefile automatically sets the
CXX=xgcc.  And without it the "checking for sin in -lm" probe will fail,
and then GCC will believe the math functions (for example acosf) are not
available and fail to build std.gcm (added since GCC 16) with about a
dozen lines of error messages, which would likely disconcert the user if
spotted.
2026-07-18 23:57:20 +08:00
Zeckmathederg ab6e014a2d Removed x32-bit support for ML.
In most cases, there is no need for x32-bit support unless the main
architecture being used is x32-bit support, not 64-bit. Please read the
x32-bit removal announcement for more information if curious.
2026-03-19 16:46:02 -06:00
Bruce Dubbs f6dbeeb1d3 White space reduction in instruction blocks. 2025-04-30 12:51:03 -05: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 ecf738aa8f Automatic merge of trunk into multilib 2023-09-16 00:30:21 +02:00
Xi Ruoyao d269e20dcb chapter05/libstdc++: Remove one more .la file 2023-09-15 19:27:41 +08:00
Thomas Trepl (Moody) 1a76da03d8 Automatic merge of trunk into multilib 2022-10-31 00:30:10 +01:00
David Bryant f6820bb618 Corrected spelling here and there. Regularized capitaization of package
names, corrected idiom / punctuation, and removed extraneous verbiage.
2022-10-30 09:23:55 -05:00
Thomas Trepl (Moody) c84195d1f8 Automatic merge of trunk into multilib 2022-08-20 05:45:09 +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) 56f8a0097e Remove unused option 2022-03-20 11:29:11 +01:00
Thomas Trepl (Moody) c24dafb886 Adjust parameter documentation 2022-03-19 14:21:35 +01:00
Thomas Trepl (Moody) 377270bda8 Fix changes in later gcc instructions 2022-03-19 13:06:54 +01:00
Thomas Trepl (Moody) d9bec1e96a Automatic merge of trunk into multilib 2022-03-17 15:28:37 +01: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) 738a4c13cd Automatic merge of trunk into multilib 2022-02-16 05:45:10 +01:00
Xi Ruoyao 2cf3c176cf break very long line 2022-02-15 15:45:00 +08:00
Xi Ruoyao 174d1bf948 libstdc++ pass 1: rephrase the explanation for --with-gxx-include-dir
I just received a private mail from some guy obviously puzzled by this
switch.  Expand the explanation a little to make it more clear.
2022-02-15 15:29:35 +08:00
Thomas Trepl (Moody) 716db1f765 Merge upstream 2021-09-20 09:37:34 +02:00
Pierre Labastie a26f29f645 Remove spaces at end o lines - chapter05 2021-09-07 22:43:31 +02:00
Thomas Trepl ceebda5df5 Merge changes from trunk to multilib
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12176 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl 6dfcfecca3 Update to new lfs structure
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Thomas Trepl c7e74d668b MultiLib: Merge changes from trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11783 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:37 +08:00
Thomas Trepl e2ccc32118 Merge upstream; Upgrade isl+firmware; add description to glibc
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11759 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:37 +08:00
Thomas Trepl 714599ff52 Apply trunk changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11577 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:34 +08:00
Pierre Labastie 430a8de69f Clarify some explanations about the minimal directory layout in chap 4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12169 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-24 15:02:32 +00:00
Pierre Labastie 26fec2772d Update sbu-du for cross2 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11925 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-12 08:40:02 +00:00
Thomas Trepl fb386e05f1 Rename package entities to be independent of chapter numbering
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-11 12:55:28 +00:00
Bruce Dubbs 79524a0c69 Text updates for cross2 Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11914 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 23:10:16 +00:00
Pierre Labastie efcb393343 Make the new book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-05-03 21:02:51 +00:00
Pierre Labastie b6dd4d724b Remove an obsolete option in libstdc++
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11770 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-03-02 08:01:51 +00:00
Pierre Labastie 013e94aa3a Revert change introduced inadvertently in libstdc++ at r11760
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11761 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-29 12:39:14 +00:00
Pierre Labastie 394dc3fc60 Make the "target architectures" section more up to date
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11760 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-29 12:25:06 +00:00
Pierre Labastie 09e3f94d7c As pointed by Tadeus Prastowo, two command explanations have to be reworded
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11758 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-02-23 06:56:18 +00:00
Pierre Labastie 6070f516c5 Change <productname> tags so that they reflect the dbhtml processing
instruction

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11574 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2019-04-10 20:20:22 +00:00
Bruce Dubbs 1067bacad2 Update description/rationale for Libstdc++ in Chapter 5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11424 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2018-06-20 15:20:49 +00:00
Pierre Labastie 105937c37a The <productname> tag should contain the name of the package, not the name of what is installed (it is planned to use this information in jhalfs)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11277 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2017-08-10 11:41:46 +00:00
Bruce Dubbs f1dd5475c9 Move external build directories into dedicated build directories inside the
source tree for binutils, gcc, and glibc.



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2016-01-27 21:49:38 +00:00
Bruce Dubbs edbeeb5dc5 Spelling and other typos -- from Craig Garner
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10969 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-11-03 03:48:42 +00:00
Bruce Dubbs bb189b08be Added a fix for security issue in Glibc (CVE-2015-1781).
Thanks to Ken Moffat for identifying the proplem and the fix.

Fixed Ncurses and Perl build with GCC 5. Thanks to Ken Moffat and 
Douglas R. Reno for providing the patches.

Updated to GCC-5.1.0.  Imported changes from systemd version.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10903 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-04-24 03:19:38 +00:00
Bruce Dubbs 3375f615d7 Minor updates to wording and dependencies
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10888 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2015-04-07 13:45:18 +00:00
Bruce Dubbs c5be6346ba Update several URLs in Chapter 3.
Fix typo in Chapter 5, libstdc++.
Removed obsolete reference to acinstall in automake section.
Removed obsolete reference to sbu home page in Chapter 4.
Update installed programs for gdbm. 



git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10556 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-05-02 16:22:07 +00:00
Bruce Dubbs 3dc9543a1e Change kmod instructions to allow installation of man pages.
Numerous whitespace fixes.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10480 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-02-18 07:16:55 +00:00
Bruce Dubbs 4783efe5de Enable building sulogin in util-linux.
Supress installing sysvinit's sulogin.
Several text updates from Chris Staub.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10386 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-12-08 03:02:53 +00:00
Matthew Burgess 89afa22870 Add libstdc++.xml, missed from r10220.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10226 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2013-03-28 17:57:16 +00:00