Changeset 0b4c2e2


Ignore:
Timestamp:
09/08/2024 06:21:09 AM (9 days ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/multilib
Parents:
f54ecb3
Message:

multilib: Update host kernel requirement for multilib

Switch to the new kernel config rendering infrastructure. Remove the
"IA32 a.out support" which is already removed and was completely useless
for multilib even before the removal. Mention the new "IA32 emulation
disabled by default" option. Separate mx32 and m32 kernel
configuration. Fix the consequences building a multilib when lacking
the corresponding kernel feature.

Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • chapter02/hostreqs.xml

    rf54ecb3 r0b4c2e2  
    277277bash version-check.sh</userinput></screen>
    278278
     279    <para arch="ml_32,ml_all">
     280      Building the m32 multilib support requires the kernel of the host
     281      system to have the 32-bit emulation support included:
     282    </para>
     283
     284    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     285      href="../chapter10/kernel/multilib-32.xml"/>
     286
     287    <para arch="ml_x32,ml_all">
     288      Building the mx32 multilib support requires the kernel of the host
     289      system to have the x32 ABI support included:
     290    </para>
     291
     292    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     293      href="../chapter10/kernel/multilib-x32.xml"/>
     294
     295    <para arch="ml_all">
     296      In case your kernel does not have the x32 ABI support enabled but
     297      only the 32-bit emulation support, you can continue to build your
     298      system but you have to leave out any sections showing instructions
     299      for building x32 objects, vice versa.
     300    </para>
     301
    279302    <para arch="ml_32,ml_x32,ml_all">
    280       Building multilib support requires the kernel of the host system
    281       to have 32-bit emulation support included.
    282     </para>
    283 <screen arch="ml_32,ml_x32,ml_all">Binary Emulations  ---&gt;
    284     [*] IA32 Emulation
    285     &lt;M&gt;   IA32 a.out support
    286     [*] x32 ABI for 64-bit mode
    287 </screen>
    288 
    289     <para arch="ml_32,ml_x32,ml_all">The option 'IA32 a.out support' is
    290       optional. In case your kernel does not have 'x32 ABI for 64-bit mode'
    291       enabled but only 'IA32 Emulation', you can continue to build your
    292       system but you have to leave out any sections showing instructions
    293       for building x32 objects. If neither 'IA32 Emulation' nor
    294       'x32 ABI for 64-bit mode' is enabled, you will run in errors
    295       latest when building <application>glibc</application> in Chapter 6,
    296       so an upgrade of your host system kernel is required.
     303      If the kernel feature required by a multilib is not enabled,
     304      building the multilib for a package in Chapter 8 may either fail
     305      immediately, or cause hidden breakages because autoconf cannot
     306      probe the system features properly.
    297307    </para>
    298308   
Note: See TracChangeset for help on using the changeset viewer.