Changeset 997d961


Ignore:
Timestamp:
03/19/2020 10:18:54 AM (21 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1, multilib-before-cross
Children:
7354a12
Parents:
6989d33e
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11792 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • appendices/dependencies.xml

    r6989d33e r997d961  
    23652365
    23662366        <seglistitem>
    2367           <seg>Cracklib, and PAM</seg>
     2367          <seg>Cracklib and PAM</seg>
    23682368        </seglistitem>
    23692369      </segmentedlist>
  • chapter01/changelog.xml

    r6989d33e r997d961  
    4444    <listitem revision="sysv"> or <listitem revision="systemd"> as
    4545    appropriate for the entry or if needed the entire day's listitem.
    46        -->
     46    -->
     47    <listitem revision="systemd">
     48      <para>2020-03-18</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[renodr] - Make minor modifications to the kernel configuration
     52          in order to match the configuration options to there current positions
     53          in Linux-5.5</para>
     54        </listitem>
     55      </itemizedlist>
     56    </listitem>
     57
    4758    <listitem>
    4859      <para>2020-03-15</para>
  • chapter05/gcc-pass2.xml

    r6989d33e r997d961  
    4444    <title>Installation of GCC</title>
    4545
    46     <para>Our first build of GCC has installed a couple of internal system
    47     headers.  Normally one of them, <filename>limits.h</filename>, will in turn
    48     include the corresponding system <filename>limits.h</filename> header, in
    49     this case, <filename>/tools/include/limits.h</filename>. However, at the
    50     time of the first build of gcc <filename>/tools/include/limits.h</filename>
    51     did not exist, so the internal header that GCC installed is a partial,
    52     self-contained file and does not include the extended features of the
    53     system header. This was adequate for building the temporary libc, but this
    54     build of GCC now requires the full internal header.  Create a full version
    55     of the internal header using a command that is identical to what the GCC
    56     build system does in normal circumstances:</para>
    57 
    58 <screen><userinput remap="pre">cat gcc/limitx.h gcc/glimits.h gcc/limity.h &gt; \
    59   `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h</userinput></screen>
    60 <!--
    61     <para>For x86 machines, the limited number of registers is a bottleneck
    62     for the system.  Free one up by not using a frame pointer that is not
    63     needed:</para>
    64 
    65 <screen><userinput remap="pre">case `uname -m` in
    66   i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
    67 esac</userinput></screen>
    68 -->
    69     <para>Once again, change the location of GCC's default dynamic linker to
    70     use the one installed in <filename
    71     class="directory">/tools</filename>.</para>
    72 
    73 <screen><userinput remap="pre">for file in gcc/config/{linux,i386/linux{,64}}.h
    74 do
    75   cp -uv $file{,.orig}
    76   sed -e 's@/lib\(64\)\?\(32\)\?\(x32\)\?/ld@/tools&amp;@g' \
    77       -e 's@/usr@/tools@g' $file.orig &gt; $file
    78   touch $file.orig
    79 done
    80 sed -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_1/ s;\".*\";\"/tools/lib/\";" \
    81     -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_2/ s;\".*\";\"\";" \
    82     -i gcc/gcc.c</userinput></screen>
    83 
    84     <para arch="default">If building on x86_64, change the default directory
    85     name for 64-bit libraries to <quote>lib</quote>:</para>
    86 
    87 <screen arch="default"><userinput remap="pre">case $(uname -m) in
    88   x86_64)
    89     sed -e '/m64=/s/lib64/lib/' \
    90         -i.orig gcc/config/i386/t-linux64
    91   ;;
    92 esac</userinput></screen>
    93 
    94     <para arch="ml_32,ml_x32,ml_all">Change the default directory name for 64-bit
    95     libraries to <quote>lib</quote>:</para>
    96 
    97 <screen arch="ml_32,ml_x32,ml_all"><userinput remap="pre">sed -e '/m64=/s/lib64/lib/'  \
    98     -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
    99     -i.orig gcc/config/i386/t-linux64</userinput></screen>
    100 
    101     <para arch="default">As in the first build of GCC it requires the GMP,
    102     MPFR, and MPC packages. Unpack the tarballs and move them into the
    103     required directory names:</para>
    104 
    105     <para arch="ml_32,ml_x32,ml_all">As in the first build of GCC it requires the GMP,
    106     ISL, MPFR, and MPC packages. Unpack the tarballs and move them into the
    107     required directory names:</para>
     46    <para arch="default">As in the first build of GCC, the GMP, MPFR, and MPC packages are
     47    required. Unpack the tarballs and move them into the required directory
     48    names:</para>
     49    <para arch="ml_32,ml_x32,ml_all">As in the first build of GCC, the GMP, MPFR, MPC and ISL packages are
     50    required. Unpack the tarballs and move them into the required directory
     51    names:</para>
    10852
    10953<screen arch="default"><userinput remap="pre">tar -xf ../mpfr-&mpfr-version;.tar.xz
     
    12266mv -v isl-&isl-version; isl</userinput></screen>
    12367
    124     <para>
    125       Now fix a problem introduced by Glibc-2.31:
    126     </para>
    127 
    128 <screen><userinput remap="pre">sed -e '1161 s|^|//|' \
    129     -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc</userinput></screen>
    130 
     68    <para>Once again, change the location of GCC's default dynamic linker to
     69    use the one installed in <filename
     70    class="directory">/tools</filename>.</para>
     71
     72<screen><userinput remap="pre">for file in gcc/config/{linux,i386/linux{,64}}.h
     73do
     74  cp -uv $file{,.orig}
     75  sed -e 's@/lib\(64\)\?\(32\)\?\(x32\)\?/ld@/tools&amp;@g' \
     76      -e 's@/usr@/tools@g' $file.orig &gt; $file
     77  touch $file.orig
     78done
     79sed -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_1/ s;\".*\";\"/tools/lib/\";" \
     80    -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_2/ s;\".*\";\"\";" \
     81    -i gcc/gcc.c</userinput></screen>
     82
     83    <para arch="default">If building on x86_64, change the default directory
     84    name for 64-bit libraries to <quote>lib</quote>:</para>
     85
     86<screen arch="default"><userinput remap="pre">case $(uname -m) in
     87  x86_64)
     88    sed -e '/m64=/s/lib64/lib/' \
     89        -i.orig gcc/config/i386/t-linux64
     90  ;;
     91esac</userinput></screen>
     92
     93    <para>Our first build of GCC has installed a couple of internal system
     94    headers.  Normally one of them, <filename>limits.h</filename>, will in turn
     95    include the corresponding system <filename>limits.h</filename> header, in
     96    this case, <filename>/tools/include/limits.h</filename>. However, at the
     97    time of the first build of gcc <filename>/tools/include/limits.h</filename>
     98    did not exist, so the internal header that GCC installed is a partial,
     99    self-contained file and does not include the extended features of the
     100    system header. This was adequate for building the temporary libc, but this
     101    build of GCC now requires the full internal header.  Create a full version
     102    of the internal header using a command that is identical to what the GCC
     103    build system does in normal circumstances:</para>
     104
     105<screen><userinput remap="pre">cat gcc/limitx.h gcc/glimits.h gcc/limity.h &gt; \
     106  `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h</userinput></screen>
     107<!--
     108    <para>For x86 machines, the limited number of registers is a bottleneck
     109    for the system.  Free one up by not using a frame pointer that is not
     110    needed:</para>
     111
     112<screen><userinput remap="pre">case `uname -m` in
     113  i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
     114esac</userinput></screen>
     115-->
    131116    <para>Create a separate build directory again:</para>
    132117
  • chapter08/grub.xml

    r6989d33e r997d961  
    4646        an addition. To do this, the UEFI Mode and Secure Boot capabilities in
    4747        the host system's BIOS need to be turned off.  For details, see <ulink
    48         url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt">
     48        url="&hints-root;lfs-uefi.txt">
    4949        the lfs-uefi.txt hint</ulink> at
    50         http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt.
     50        &hints-root;lfs-uefi.txt.
    5151      </para>
    5252    </note>
  • chapter08/kernel.xml

    r6989d33e r997d961  
    8787      <screen role="nodump" revision="systemd">
    8888General setup -->
     89   [*] Control Group support [CONFIG_CGROUPS]
    8990   [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
    9091   [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---&gt;         
    9192      [*] open by fhandle syscalls [CONFIG_FHANDLE]
    9293   [ ] Auditing support [CONFIG_AUDIT]
    93    [*] Control Group support [CONFIG_CGROUPS]
    9494Processor type and features  ---&gt;
    9595   [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
     
    110110  Pseudo filesystems  ---&gt;
    111111   [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]
    112    [*] Tmpfs extended attributes [CONFIG_TMPFS_XATTR]
    113 Kernel hacking  ---&gt;
    114    x86 Debugging ---&gt;
    115        Choose kernel unwinder (Frame pointer unwinder)  ---&gt; [CONFIG_UNWINDER_FRAME_POINTER]</screen>
     112   [*] Tmpfs extended attributes [CONFIG_TMPFS_XATTR]</screen>
    116113
    117114    </note>
     
    143140      is covered by the lfs-uefi.txt hint at
    144141      <ulink
    145         url="http://www.linuxfromscratch.org/hints/downloads/files/lfs-uefi.txt"/>.
     142        url="&hints-root;lfs-uefi.txt"/>.
    146143      </para>
    147144    </note>
  • general.ent

    r6989d33e r997d961  
    1 <!ENTITY version         "SVN-20200315">
     1<!ENTITY version         "SVN-20200318">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20200315-systemd">
     6<!ENTITY versiond        "20200318-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "March 15th, 2020">
     10<!ENTITY releasedate     "March 18th, 2020">
    1111
    1212<!ENTITY copyrightdate   "1999-2020"><!-- jhalfs needs a literal dash, not &ndash; -->
  • packages.ent

    r6989d33e r997d961  
    5252
    5353<!ENTITY bc-version "2.6.0">
    54 <!ENTITY bc-size "247 KB">
    55 <!ENTITY bc-url "https://github.com/gavinhoward/bc/archive/&bc-version;/bc-&bc-version;.tar.gz">
    56 <!ENTITY bc-md5 "cf466ccf1114efa3352985d210e5f255">
     54<!ENTITY bc-size "159 KB">
     55<!ENTITY bc-url "https://github.com/gavinhoward/bc/releases/download/&bc-version;/bc-&bc-version;.tar.xz">
     56<!ENTITY bc-md5 "aa507206cef5e135b60ed82b24060447">
    5757<!ENTITY bc-home "https://github.com/gavinhoward/bc">
    5858<!ENTITY bc-ch6-du "2.9 MB">
     
    235235<!ENTITY gcc-ch6-sbu "88 SBU (with tests)">
    236236<!ENTITY libquadmath-version "0.0.0">
    237 <!ENTITY libstdcpp-version   "6.0.27">
     237<!ENTITY libstdcpp-version   "6.0.28">
    238238<!ENTITY libitm-version      "1.0.0">
    239239<!ENTITY libatomic-version   "1.2.0">
Note: See TracChangeset for help on using the changeset viewer.