Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
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
Pierre Labastie
a26f29f645 Remove spaces at end o lines - chapter05 2021-09-07 22:43:31 +02: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