Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/hostreqs.xml

    rcc44a47b r0f18f2b  
    4545
    4646    <listitem>
    47       <para><emphasis role="strong">Binutils-2.38</emphasis> (Versions
     47      <para><emphasis role="strong">Binutils-2.13.1</emphasis> (Versions
    4848      greater than &binutils-version; are not recommended as they have
    4949      not been tested)</para>
     
    7373
    7474    <listitem>
    75       <para><emphasis role="strong">GCC-12.2</emphasis> including the C++
     75      <para><emphasis role="strong">GCC-5.1</emphasis> including the C++
    7676      compiler, <command>g++</command> (Versions greater than &gcc-version; are
    7777      not recommended as they have not been tested). C and C++ standard
     
    9494      that version when building <application>glibc</application> in
    9595      <xref linkend="chapter-cross-tools"/> and
    96       <xref linkend="chapter-building-system"/>, and
    97       &min-kernel; is the oldest kernel release supported by Glibc for
    98       LoongArch.</para>
    99 
    100       <important>
    101         <para>
    102           If a Linux distribution on LoongArch provides a kernel older than
    103           &min-kernel;, it indicates the distribution is using a preliminary
    104           version of the kernel ABI.  The preliminary draft was rejected by
    105           the kernel maintainers and it's fundamentally incompatible with
    106           the packages we will built for LFS.  Such <quote>old-world</quote>
    107           distributions (for example, Loongnix) cannot be used as a host
    108           distro for building LFS.
    109         </para>
    110 
    111         <para>
    112           Do not attempt to update the kernel to &min-kernel; or later on
    113           a old-world distro because doing so will cause a boot failure.
    114           Use a <quote>new-world</quote> distribution providing Linux Kernel
    115           &min-kernel; or newer instead.  You may need to contact the vendor
    116           of your hardware to get a firmware update for booting a new-world
    117           distribution because the boot protocol of LoongArch is stabilized
    118           after the launch of the early LoongArch hardwares.
    119         </para>
    120       </important>
     96      <xref linkend="chapter-building-system"/>, so the workarounds for
     97      older kernels are not enabled and the compiled
     98      <application>glibc</application> is slightly faster and smaller.
     99      As at June 2023, &min-kernel; is the oldest kernel release still
     100      supported by the kernel developers.</para>
     101
     102      <para>If the host kernel is earlier than &min-kernel; you will need to replace
     103      the kernel with a more up-to-date version. There are two ways
     104      you can go about this. First, see if your Linux vendor provides a &min-kernel;
     105      or later kernel package. If so, you may wish to install it. If your
     106      vendor doesn't offer an acceptable kernel package, or you would prefer not to
     107      install it, you can compile a kernel yourself. Instructions for
     108      compiling the kernel and configuring the boot loader (assuming the host
     109      uses GRUB) are located in <xref linkend="chapter-bootable"/>.</para>
    121110
    122111      <para>We require the host kernel to support UNIX 98 pseudo terminal
     
    231220ver_check Coreutils      sort     7.0 || bail "--version-sort unsupported"
    232221ver_check Bash           bash     3.2
    233 ver_check Binutils       ld       2.38
     222ver_check Binutils       ld       2.13.1
    234223ver_check Bison          bison    2.7
    235224ver_check Diffutils      diff     2.8.1
    236225ver_check Findutils      find     4.2.31
    237226ver_check Gawk           gawk     4.0.1
    238 ver_check GCC            gcc      12.2
    239 ver_check "GCC (C++)"    g++      12.2
     227ver_check GCC            gcc      5.1
     228ver_check "GCC (C++)"    g++      5.1
    240229ver_check Grep           grep     2.5.1a
    241230ver_check Gzip           gzip     1.3.12
Note: See TracChangeset for help on using the changeset viewer.