diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 1225352a5..0d765085b 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -276,24 +276,34 @@ EOF bash version-check.sh - - Building multilib support requires the kernel of the host system - to have 32-bit emulation support included. + + Building the m32 multilib support requires the kernel of the host + system to have the 32-bit emulation support included: -Binary Emulations ---> - [*] IA32 Emulation - <M> IA32 a.out support - [*] x32 ABI for 64-bit mode - - The option 'IA32 a.out support' is - optional. In case your kernel does not have 'x32 ABI for 64-bit mode' - enabled but only 'IA32 Emulation', you can continue to build your + + + + Building the mx32 multilib support requires the kernel of the host + system to have the x32 ABI support included: + + + + + + In case your kernel does not have the x32 ABI support enabled but + only the 32-bit emulation support, you can continue to build your system but you have to leave out any sections showing instructions - for building x32 objects. If neither 'IA32 Emulation' nor - 'x32 ABI for 64-bit mode' is enabled, you will run in errors - latest when building glibc in Chapter 6, - so an upgrade of your host system kernel is required. + for building x32 objects, vice versa. + + + + If the kernel feature required by a multilib is not enabled, + building the multilib for a package in Chapter 8 may either fail + immediately, or cause hidden breakages because autoconf cannot + probe the system features properly. diff --git a/chapter10/kernel/multilib-32.toml b/chapter10/kernel/multilib-32.toml new file mode 100644 index 000000000..ba6ec9cd7 --- /dev/null +++ b/chapter10/kernel/multilib-32.toml @@ -0,0 +1,3 @@ +IA32_EMULATION='*' +IA32_EMULATION_DEFAULT_DISABLED=' ' +arch='ml_32,ml_all' diff --git a/chapter10/kernel/multilib-32.xml b/chapter10/kernel/multilib-32.xml new file mode 100644 index 000000000..e884833db --- /dev/null +++ b/chapter10/kernel/multilib-32.xml @@ -0,0 +1,8 @@ + + + +Binary Emulations ---> + [*] IA32 Emulation [IA32_EMULATION] + [ ] IA32 emulation disabled by default [IA32_EMULATION_DEFAULT_DISABLED] diff --git a/chapter10/kernel/multilib-x32.toml b/chapter10/kernel/multilib-x32.toml new file mode 100644 index 000000000..08f8b6640 --- /dev/null +++ b/chapter10/kernel/multilib-x32.toml @@ -0,0 +1,2 @@ +X86_X32_ABI='*' +arch='ml_x32,ml_all' diff --git a/chapter10/kernel/multilib-x32.xml b/chapter10/kernel/multilib-x32.xml new file mode 100644 index 000000000..9b082af6a --- /dev/null +++ b/chapter10/kernel/multilib-x32.xml @@ -0,0 +1,7 @@ + + + +Binary Emulations ---> + [*] x32 ABI for 64-bit mode [X86_X32_ABI]