Debian Codegraph @

doc/source/troubleshooting/architectures.rst

raw
1 Architectures
2 -------------
3
4 With regards to the information in :ref:`supported-distributions`,
5 one requirement between the build host and the image, when it comes to
6 architecture support, is that the image architecture should match the
7 build host architecture. Cross-arch building would require any core
8 tool that is used to build an image to be cross-arch capable.
9
10 To patch, e.g., an x86_64 system such that it can build an
11 aarch64 image would require some work on binutils and hacks as well as
12 performance tweaks, which is all not worth the effort and can still lead
13 to broken results. Thus, we recommend providing native systems for the
14 target architecture and building there. One possible alternative is to
15 use the {kiwi} boxed plugin (see :ref:`self_contained`), together with a box
16 created for the desired architecture. However, keep in mind the
17 performance problematic when running a VM of a different
18 architecture.
19
20 The majority of the image builds are based on the x86 architecture.
21 As mentioned, {kiwi} also supports other architectures, as shown in the
22 table below:
23
24 .. table::
25 :align: left
26
27 +--------------+---------------------+
28 | Architecture | Supported |
29 +==============+=====================+
30 | x86_64 | yes |
31 +--------------+---------------------+
32 | ix86 | yes **note:distro** |
33 +--------------+---------------------+
34 | s390/s390x | yes **note:distro** |
35 +--------------+---------------------+
36 | arm/aarch64 | yes **note:distro** |
37 +--------------+---------------------+
38 | ppc64 | yes **note:distro** |
39 +--------------+---------------------+
40
41 .. admonition:: distro
42
43 The support status for an architecture depends on the distribution.
44 If the distribution does not build its packages for the desired
45 architecture, {kiwi} will not be able to build an image for it.