Changeset 9237700
- Timestamp:
- 11/23/2022 10:50:34 AM (22 months ago)
- Branches:
- multilib, xry111/multilib
- Children:
- 43063fe
- Parents:
- 777f469 (diff), f0cbef54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r777f469 r9237700 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 42 <listitem revision="systemd"> 42 <listitem> 43 <para>2022-11-22</para> 44 <itemizedlist> 45 <listitem> 46 <para>[xry111] - Update to linux-6.0.9. Fixes 47 <ulink url="&lfs-ticket-root;5162">#5162</ulink>.</para> 48 </listitem> 49 <listitem> 50 <para>[xry111] - Update to libpipeline-1.5.7. Fixes 51 <ulink url="&lfs-ticket-root;5163">#5163</ulink>.</para> 52 </listitem> 53 <listitem> 54 <para>[xry111] - Update to xz-5.2.8. Fixes 55 <ulink url="&lfs-ticket-root;5164">#5164</ulink>.</para> 56 </listitem> 57 <listitem> 58 <para>[xry111] - Update to man-db-2.11.1. Fixes 59 <ulink url="&lfs-ticket-root;5166">#5166</ulink>.</para> 60 </listitem> 61 <listitem> 62 <para>[xry111] - Update to mpfr-4.1.1. Fixes 63 <ulink url="&lfs-ticket-root;5167">#5167</ulink>.</para> 64 </listitem> 65 <listitem> 66 <para>[xry111] - Stop disabling decimal float for temporary GCC, 67 so mpfr will be built with decimal float support.</para> 68 </listitem> 69 <listitem> 70 <para>[xry111] - Update instruction for wheel to avoid relying on 71 deprecated Python features.</para> 72 </listitem> 73 </itemizedlist> 74 </listitem> 75 76 <listitem> 43 77 <para>2022-11-10</para> 44 78 <itemizedlist> -
chapter05/gcc-pass1.xml
r777f469 r9237700 101 101 --disable-shared \ 102 102 --disable-multilib \ 103 --disable-decimal-float \104 103 --disable-threads \ 105 104 --disable-libatomic \ … … 209 208 210 209 <varlistentry> 211 <term><parameter>--disable- decimal-float, --disable-threads,212 210 <term><parameter>--disable-threads, 211 --disable-libatomic, --disable-libgomp, 213 212 --disable-libquadmath, --disable-libssp, --disable-libvtv, 214 213 --disable-libstdcxx</parameter></term> 215 214 <listitem> 216 <para>These switches disable support for the decimal floating point217 extension,threading, libatomic, libgomp, libquadmath, libssp,215 <para>These switches disable support for 216 threading, libatomic, libgomp, libquadmath, libssp, 218 217 libvtv, and the C++ standard library respectively. These features 219 willfail to compile when building a cross-compiler and are not218 may fail to compile when building a cross-compiler and are not 220 219 necessary for the task of cross-compiling the temporary libc.</para> 221 220 </listitem> -
chapter06/gcc-pass2.xml
r777f469 r9237700 102 102 --disable-nls \ 103 103 --disable-multilib \ 104 --disable-decimal-float \105 104 --disable-libatomic \ 106 105 --disable-libgomp \ -
chapter08/coreutils.xml
r777f469 r9237700 129 129 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 130 130 131 <!-- test-getlogin is now skipped 132 <para>The test-getlogin test is known to fail in the LFS chroot environment.</para> 133 --> 134 <!-- should be fixed at next release, coreutils-9.2 --> 135 <para>The sort-NaN-infloop test is known to fail with GCC-12.</para> 131 <!-- Sometimes skipped, but if not it may fail. 132 Please DO NOT remove or comment out this unless we can fully 133 understand it! --> 134 <para>The test-getlogin test may fail in the LFS chroot environment.</para> 136 135 137 136 <para>Remove the temporary group:</para> -
chapter08/gcc.xml
r777f469 r9237700 101 101 --with-system-zlib</userinput></screen> 102 102 103 <para> Note that for other programming languages there are some prerequisites that104 are not yet available. See the103 <para>GCC supports seven different computer languages, but the 104 prerequisites for most of them have not yet been installed. See the 105 105 <ulink url="&blfs-book;general/gcc.html">BLFS Book GCC page</ulink> 106 106 for instructions on how to build all of GCC's supported languages.</para> … … 112 112 <term><parameter>LD=ld</parameter></term> 113 113 <listitem> 114 <para>This parameter makes the configure script use the ld installed115 by the binutilsbuilt earlier in this chapter, rather than114 <para>This parameter makes the configure script use the ld program installed 115 by the Binutils package built earlier in this chapter, rather than 116 116 the cross-built version which would otherwise be used.</para> 117 117 </listitem> … … 122 122 <listitem> 123 123 <para>This switch tells GCC to link to the system installed copy of 124 the zlib library, rather than its own internal copy.</para>124 the Zlib library, rather than its own internal copy.</para> 125 125 </listitem> 126 126 </varlistentry> … … 130 130 <anchor id="pie-ssp-info" xreflabel="note on PIE and SSP"/> 131 131 <para> 132 PIE (position-independent executable ) is a technique to produce132 PIE (position-independent executables) are 133 133 binary programs that can be loaded anywhere in memory. Without PIE, 134 134 the security feature named ASLR (Address Space Layout Randomization) 135 can be applied for the shared libraries, but not the executable136 itself. Enabling PIE allows ASLR for the executables in addition to135 can be applied for the shared libraries, but not for the executables 136 themselves. Enabling PIE allows ASLR for the executables in addition to 137 137 the shared libraries, and mitigates some attacks based on fixed 138 138 addresses of sensitive code or data in the executables. … … 140 140 <para> 141 141 SSP (Stack Smashing Protection) is a technique to ensure 142 that the parameter stack is not corrupted. Stack corruption can 143 for example alter the return address of a subroutine,144 which would allowtransferring control to some dangerous code142 that the parameter stack is not corrupted. Stack corruption can, 143 for example, alter the return address of a subroutine, 144 thus transferring control to some dangerous code 145 145 (existing in the program or shared libraries, or injected by the 146 attacker somehow) instead of the original one.146 attacker somehow). 147 147 </para> 148 148 </note> … … 154 154 <important> 155 155 <para>In this section, the test suite for GCC is considered 156 important, but it takes a long time. First 157 encouraged to not skip it. The time to run the tests can be158 reduced significantly by adding -jx to the make command below159 where x is the number of cores on your system.</para>156 important, but it takes a long time. First-time builders are 157 encouraged to run the test suite. The time to run the tests can be 158 reduced significantly by adding -jx to the <command>make -k check</command> command below, 159 where x is the number of CPU cores on your system.</para> 160 160 </important> 161 161 … … 170 170 su tester -c "PATH=$PATH make -k check"</userinput></screen> 171 171 172 <para>To receivea summary of the test suite results, run:</para>172 <para>To extract a summary of the test suite results, run:</para> 173 173 174 174 <screen><userinput remap="test">../contrib/test_summary</userinput></screen> 175 175 176 <para> Foronly the summaries, pipe the output through176 <para>To filter out only the summaries, pipe the output through 177 177 <userinput>grep -A7 Summ</userinput>.</para> 178 178 … … 181 181 <ulink url="https://gcc.gnu.org/ml/gcc-testresults/"/>.</para> 182 182 183 <para> In gcc, eleven tests, in the i386 test suiteare known to FAIL.183 <para>Eleven tests in the i386 test suite for the gcc compiler are known to FAIL. 184 184 It's because the test files do not account for the 185 185 <parameter>--enable-default-pie</parameter> option.</para> 186 186 187 <para> In g++, four tests related to PR100400 are known tobe reported188 as both XPASS and FAIL . It's because the test file for this known issue187 <para>Four tests related to PR100400 may be reported 188 as both XPASS and FAIL when testing the g++ compiler; the test file 189 189 is not well written.</para> 190 190 … … 208 208 209 209 <para>The GCC build directory is owned by <systemitem class="username"> 210 tester</systemitem> now and the ownership of the installed header211 directory (and its content) will be incorrect. Change the ownership to210 tester</systemitem> now, and the ownership of the installed header 211 directory (and its content) is incorrect. Change the ownership to the 212 212 <systemitem class="username">root</systemitem> user and group:</para> 213 213 … … 246 246 <screen><computeroutput>[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]</computeroutput></screen> 247 247 248 <para>Now make sure that we're set up to use the correct start files:</para>248 <para>Now make sure that we're set up to use the correct start files:</para> 249 249 250 250 <screen><userinput>grep -E -o '/usr/lib.*/S?crt[1in].*succeeded' dummy.log</userinput></screen> … … 295 295 SEARCH_DIR("/usr/lib");</computeroutput></screen> 296 296 297 <para arch="default">A 32-bit system may see a few differentdirectories. For example, here297 <para arch="default">A 32-bit system may use a few other directories. For example, here 298 298 is the output from an i686 machine:</para> 299 299 … … 329 329 steps to find out where the problem is and correct it. <!--The most likely 330 330 reason is that something went wrong with the specs file adjustment.--> Any 331 issues will need tobe resolved before continuing with the process.</para>331 issues should be resolved before continuing with the process.</para> 332 332 333 333 <para>Once everything is working correctly, clean up the test files:</para> … … 396 396 <listitem> 397 397 <para>The C preprocessor; it is used by the compiler to expand the 398 #include, #define, and similar statements in the source files</para>398 #include, #define, and similar directives in the source files</para> 399 399 <indexterm zone="ch-system-gcc cpp"> 400 400 <primary sortas="b-cpp">cpp</primary> … … 429 429 plugin to the command line. This program is only used 430 430 to add "link time optimization" and is not useful with the 431 default build options </para>431 default build options.</para> 432 432 <indexterm zone="ch-system-gcc gcc-ar"> 433 433 <primary sortas="b-gcc-ar">gc-ar</primary> … … 442 442 plugin to the command line. This program is only used 443 443 to add "link time optimization" and is not useful with the 444 default build options </para>444 default build options.</para> 445 445 <indexterm zone="ch-system-gcc gcc-nm"> 446 446 <primary sortas="b-gcc-nm">gc-nm</primary> … … 455 455 plugin to the command line. This program is only used 456 456 to add "link time optimization" and is not useful with the 457 default build options </para>457 default build options.</para> 458 458 <indexterm zone="ch-system-gcc gcc-ranlib"> 459 459 <primary sortas="b-gcc-ranlib">gc-ranlib</primary> … … 466 466 <listitem> 467 467 <para>A coverage testing tool; it is used to analyze programs to 468 determine where optimizations will have the most effect</para>468 determine where optimizations will have the greatest effect</para> 469 469 <indexterm zone="ch-system-gcc gcov"> 470 470 <primary sortas="b-gcov">gcov</primary> … … 547 547 <term><filename class="libraryfile">libgcov</filename></term> 548 548 <listitem> 549 <para>This library is linked in 549 <para>This library is linked into a program when GCC is instructed 550 550 to enable profiling</para> 551 551 <indexterm zone="ch-system-gcc libgcov"> … … 589 589 <term><filename class="libraryfile">liblto_plugin</filename></term> 590 590 <listitem> 591 <para>GCC's LTO plugin allows binutils to process object files591 <para>GCC's LTO plugin allows Binutils to process object files 592 592 produced by GCC with LTO enabled</para> 593 593 <indexterm zone="ch-system-gcc liblto_plugin"> … … 611 611 <listitem> 612 612 <para>Contains routines supporting GCC's stack-smashing protection 613 functionality. Normally it 's unused because glibc also provides614 those routines </para>613 functionality. Normally it is not used, because Glibc also provides 614 those routines.</para> 615 615 <indexterm zone="ch-system-gcc libssp"> 616 616 <primary sortas="c-libssp">libssp</primary> -
chapter08/shadow.xml
r777f469 r9237700 640 640 <term><filename class='libraryfile'>libsubid</filename></term> 641 641 <listitem> 642 <para>library for processing subordinate id ranges for users</para>642 <para>library to handle subordinate id ranges for users and groups</para> 643 643 <indexterm zone="ch-system-shadow libsubid"> 644 644 <primary sortas="c-libsubid">libsubid</primary> -
chapter08/wheel.xml
r777f469 r9237700 41 41 <title>Installation of Wheel</title> 42 42 43 <para>Compile wheel with the following command:</para> 44 45 <screen><userinput remap="make">PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen> 46 43 47 <para>Install wheel with the following command:</para> 44 48 45 <screen><userinput remap="install">pip3 install --no-index $PWD</userinput></screen>49 <screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen> 46 50 47 51 <variablelist> 48 <title>The meaning of the pip3 options:</title> 52 <title>The meaning of the pip3 commands:</title> 53 54 <varlistentry> 55 <term><envar>PYTHONPATH=src</envar></term> 56 <listitem> 57 <para>Allow using this package (not installed yet) to build a 58 wheel archive for itself, to avoid a chicken-or-egg problem.</para> 59 </listitem> 60 </varlistentry> 61 62 <varlistentry> 63 <term><command>wheel</command></term> 64 <listitem> 65 <para>Build wheel archive for this package.</para> 66 </listitem> 67 </varlistentry> 68 69 <varlistentry> 70 <term><parameter>-w dist</parameter></term> 71 <listitem> 72 <para>Put the created wheels into the 73 <filename class='directory'>dist</filename> directory.</para> 74 </listitem> 75 </varlistentry> 49 76 50 77 <varlistentry> … … 56 83 57 84 <varlistentry> 58 <term><parameter>--no-index</parameter></term> 85 <term><parameter>--no-build-isolation</parameter>, 86 <parameter>--no-deps</parameter>, and 87 <parameter>--no-index</parameter></term> 59 88 <listitem> 60 89 <para>Prevent pip from fetching files from the online package 61 90 repository (PyPI). If packages are installed in the correct order, 62 then it won't need to fetch any files in the first place, but th is63 option addssome safety in case of user error.</para>91 then it won't need to fetch any files in the first place, but these 92 options add some safety in case of user error.</para> 64 93 </listitem> 65 94 </varlistentry> 66 95 67 96 <varlistentry> 68 <term><parameter> $PWD</parameter></term>97 <term><parameter>--find-links dist</parameter></term> 69 98 <listitem> 70 <para>Look for files to install in the current working directory.</para> 99 <para>Search wheel archives from the 100 <filename class='directory'>dist</filename> directory.</para> 71 101 </listitem> 72 102 </varlistentry> 73 74 103 </variablelist> 75 76 104 </sect2> 77 105 … … 87 115 <seg> 88 116 /usr/lib/python&python-minor;/site-packages/wheel and 89 /usr/lib/python&python-minor;/site-packages/wheel-&wheel-version; -py&python-minor;.egg-info117 /usr/lib/python&python-minor;/site-packages/wheel-&wheel-version;.dist-info 90 118 </seg> 91 119 </seglistitem> -
packages.ent
r777f469 r9237700 416 416 <!ENTITY libffi-fin-sbu "1.8 SBU"> 417 417 418 <!ENTITY libpipeline-version "1.5. 6">419 <!ENTITY libpipeline-size "95 4KB">418 <!ENTITY libpipeline-version "1.5.7"> 419 <!ENTITY libpipeline-size "956 KB"> 420 420 <!ENTITY libpipeline-url "&savannah;/releases/libpipeline/libpipeline-&libpipeline-version;.tar.gz"> 421 <!ENTITY libpipeline-md5 " 829c9ba46382b0b3e12dd11fcbc1bb27">421 <!ENTITY libpipeline-md5 "1a48b5771b9f6c790fb4efdb1ac71342"> 422 422 <!ENTITY libpipeline-home "https://libpipeline.nongnu.org/"> 423 423 <!ENTITY libpipeline-fin-du "10 MB"> … … 434 434 <!ENTITY linux-major-version "6"> 435 435 <!ENTITY linux-minor-version "0"> 436 <!ENTITY linux-patch-version " 7">436 <!ENTITY linux-patch-version "9"> 437 437 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 438 438 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 439 <!ENTITY linux-size "130,7 48KB">439 <!ENTITY linux-size "130,776 KB"> 440 440 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 441 <!ENTITY linux-md5 " 690e3de421b693bf111ec74a97476ea7">441 <!ENTITY linux-md5 "3de364bdbacd2115950cc3dd94157ab6"> 442 442 <!ENTITY linux-home "https://www.kernel.org/"> 443 443 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is … … 473 473 <!ENTITY make-fin-sbu "0.5 SBU"> 474 474 475 <!ENTITY man-db-version "2.11. 0">476 <!ENTITY man-db-size "1, 879KB">475 <!ENTITY man-db-version "2.11.1"> 476 <!ENTITY man-db-size "1,904 KB"> 477 477 <!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz"> 478 <!ENTITY man-db-md5 " ad12e19d4f86d866a3858decf6989746">478 <!ENTITY man-db-md5 "88caf8efe127453f9dcb2ff9b2983f59"> 479 479 <!ENTITY man-db-home "https://www.nongnu.org/man-db/"> 480 480 <!ENTITY man-db-fin-du "40 MB"> … … 513 513 <!ENTITY mpc-fin-sbu "0.3 SBU"> 514 514 515 <!ENTITY mpfr-version "4.1. 0">516 <!ENTITY mpfr-size "1,4 90 KB">515 <!ENTITY mpfr-version "4.1.1"> 516 <!ENTITY mpfr-size "1,400 KB"> 517 517 <!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz"> 518 <!ENTITY mpfr-md5 " bdd3d5efba9c17da8d83a35ec552baef">518 <!ENTITY mpfr-md5 "d182b62e811f744d149b14540d8e922b"> 519 519 <!ENTITY mpfr-home "https://www.mpfr.org/"> 520 520 <!ENTITY mpfr-fin-du "39 MB"> … … 754 754 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 755 755 756 <!ENTITY xz-version "5.2. 7">757 <!ENTITY xz-size "1,2 53KB">756 <!ENTITY xz-version "5.2.8"> 757 <!ENTITY xz-size "1,260 KB"> 758 758 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz"> 759 <!ENTITY xz-md5 " 6c130d21e260d4476e971985e7394e83">759 <!ENTITY xz-md5 "7cfa6136d984083e7d4da12c8fb083ea"> 760 760 <!ENTITY xz-home "https://tukaani.org/xz"> 761 761 <!ENTITY xz-tmp-du "16 MB">
Note:
See TracChangeset
for help on using the changeset viewer.