xref: /aosp_15_r20/external/ltp/doc/users/supported_systems.rst (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker.. SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker
3*49cdfc7eSAndroid Build Coastguard WorkerSupported systems
4*49cdfc7eSAndroid Build Coastguard Worker=================
5*49cdfc7eSAndroid Build Coastguard Worker
6*49cdfc7eSAndroid Build Coastguard WorkerLTP `master <https://github.com/linux-test-project/ltp/commits/master>`_
7*49cdfc7eSAndroid Build Coastguard Workerbranch is build tested in
8*49cdfc7eSAndroid Build Coastguard Worker`GitHub Actions <https://github.com/linux-test-project/ltp/actions>`_.
9*49cdfc7eSAndroid Build Coastguard Worker
10*49cdfc7eSAndroid Build Coastguard Worker.. note::
11*49cdfc7eSAndroid Build Coastguard Worker
12*49cdfc7eSAndroid Build Coastguard Worker      There is no CI for the actual test runs.
13*49cdfc7eSAndroid Build Coastguard Worker
14*49cdfc7eSAndroid Build Coastguard WorkerKernel version
15*49cdfc7eSAndroid Build Coastguard Worker--------------
16*49cdfc7eSAndroid Build Coastguard Worker
17*49cdfc7eSAndroid Build Coastguard WorkerMinimal supported kernel version is **4.4**.
18*49cdfc7eSAndroid Build Coastguard Worker
19*49cdfc7eSAndroid Build Coastguard WorkerOldest build tested distributions
20*49cdfc7eSAndroid Build Coastguard Worker---------------------------------
21*49cdfc7eSAndroid Build Coastguard Worker
22*49cdfc7eSAndroid Build Coastguard Worker.. list-table::
23*49cdfc7eSAndroid Build Coastguard Worker    :header-rows: 1
24*49cdfc7eSAndroid Build Coastguard Worker
25*49cdfc7eSAndroid Build Coastguard Worker    * - Distro
26*49cdfc7eSAndroid Build Coastguard Worker      - Kernel
27*49cdfc7eSAndroid Build Coastguard Worker      - glibc
28*49cdfc7eSAndroid Build Coastguard Worker      - gcc
29*49cdfc7eSAndroid Build Coastguard Worker      - clang
30*49cdfc7eSAndroid Build Coastguard Worker
31*49cdfc7eSAndroid Build Coastguard Worker    * - openSUSE Leap 42.2
32*49cdfc7eSAndroid Build Coastguard Worker      - 4.4
33*49cdfc7eSAndroid Build Coastguard Worker      - 2.22
34*49cdfc7eSAndroid Build Coastguard Worker      - 4.8.5
35*49cdfc7eSAndroid Build Coastguard Worker      - \-
36*49cdfc7eSAndroid Build Coastguard Worker
37*49cdfc7eSAndroid Build Coastguard Worker    * - Ubuntu 18.04 LTS bionic
38*49cdfc7eSAndroid Build Coastguard Worker      - 4.15
39*49cdfc7eSAndroid Build Coastguard Worker      - 2.27
40*49cdfc7eSAndroid Build Coastguard Worker      - 7.3.0
41*49cdfc7eSAndroid Build Coastguard Worker      - \-
42*49cdfc7eSAndroid Build Coastguard Worker
43*49cdfc7eSAndroid Build Coastguard Worker    * - Debian 11 (bullseye)
44*49cdfc7eSAndroid Build Coastguard Worker      - 5.10
45*49cdfc7eSAndroid Build Coastguard Worker      - 2.31
46*49cdfc7eSAndroid Build Coastguard Worker      - 10.2.1
47*49cdfc7eSAndroid Build Coastguard Worker      - 11.0.1
48*49cdfc7eSAndroid Build Coastguard Worker
49*49cdfc7eSAndroid Build Coastguard WorkerFor a full list of build tested distros, please check :master:`.github/workflows/ci-docker-build.yml`.
50*49cdfc7eSAndroid Build Coastguard Worker
51*49cdfc7eSAndroid Build Coastguard WorkerOlder distributions are not officially supported, which means that it
52*49cdfc7eSAndroid Build Coastguard Workermay or may not work. It all depends on your luck. It should be possible
53*49cdfc7eSAndroid Build Coastguard Workerto compile latest LTP even on slightly older distributions than we
54*49cdfc7eSAndroid Build Coastguard Workersupport with a few manual tweaks, e.g. disabling manually tests for
55*49cdfc7eSAndroid Build Coastguard Workernewly added syscalls, etc. **Trivial fixes/workarounds may be accepted,
56*49cdfc7eSAndroid Build Coastguard Workerbut users are encouraged to move to a newer distro.**
57*49cdfc7eSAndroid Build Coastguard Worker
58*49cdfc7eSAndroid Build Coastguard WorkerIf latest LTP cannot be compiled even with some amount of workarounds,
59*49cdfc7eSAndroid Build Coastguard Workeryou may result to older LTP releases, however these are **not** supported
60*49cdfc7eSAndroid Build Coastguard Workerin any way. Also if you are trying to run LTP on more than 10 years old
61*49cdfc7eSAndroid Build Coastguard Workerdistribution you may as well reconsider you life choices.
62*49cdfc7eSAndroid Build Coastguard Worker
63*49cdfc7eSAndroid Build Coastguard WorkerBuild tested architectures
64*49cdfc7eSAndroid Build Coastguard Worker--------------------------
65*49cdfc7eSAndroid Build Coastguard Worker
66*49cdfc7eSAndroid Build Coastguard Worker.. list-table::
67*49cdfc7eSAndroid Build Coastguard Worker    :header-rows: 1
68*49cdfc7eSAndroid Build Coastguard Worker
69*49cdfc7eSAndroid Build Coastguard Worker    * - Architecture
70*49cdfc7eSAndroid Build Coastguard Worker      - Build
71*49cdfc7eSAndroid Build Coastguard Worker
72*49cdfc7eSAndroid Build Coastguard Worker    * - x86_64
73*49cdfc7eSAndroid Build Coastguard Worker      - native
74*49cdfc7eSAndroid Build Coastguard Worker
75*49cdfc7eSAndroid Build Coastguard Worker    * - x86 emulation
76*49cdfc7eSAndroid Build Coastguard Worker      - native
77*49cdfc7eSAndroid Build Coastguard Worker
78*49cdfc7eSAndroid Build Coastguard Worker    * - aarch64
79*49cdfc7eSAndroid Build Coastguard Worker      - cross compilation
80*49cdfc7eSAndroid Build Coastguard Worker
81*49cdfc7eSAndroid Build Coastguard Worker    * - ppc64le
82*49cdfc7eSAndroid Build Coastguard Worker      - cross compilation
83*49cdfc7eSAndroid Build Coastguard Worker
84*49cdfc7eSAndroid Build Coastguard Worker    * - s390x
85*49cdfc7eSAndroid Build Coastguard Worker      - cross compilation
86*49cdfc7eSAndroid Build Coastguard Worker
87*49cdfc7eSAndroid Build Coastguard WorkerSupported C libraries
88*49cdfc7eSAndroid Build Coastguard Worker---------------------
89*49cdfc7eSAndroid Build Coastguard Worker
90*49cdfc7eSAndroid Build Coastguard Worker.. list-table::
91*49cdfc7eSAndroid Build Coastguard Worker    :header-rows: 1
92*49cdfc7eSAndroid Build Coastguard Worker
93*49cdfc7eSAndroid Build Coastguard Worker    * - C library
94*49cdfc7eSAndroid Build Coastguard Worker      - Note
95*49cdfc7eSAndroid Build Coastguard Worker
96*49cdfc7eSAndroid Build Coastguard Worker    * - `glibc <https://www.gnu.org/software/libc/>`_
97*49cdfc7eSAndroid Build Coastguard Worker      - Targeted libc, tested both compilation and actual test results.
98*49cdfc7eSAndroid Build Coastguard Worker
99*49cdfc7eSAndroid Build Coastguard Worker    * - `uClibc-ng <https://uclibc-ng.org/>`_
100*49cdfc7eSAndroid Build Coastguard Worker      - Although not being tested, it should work as it attempt to maintain a glibc compatible interface.
101*49cdfc7eSAndroid Build Coastguard Worker
102*49cdfc7eSAndroid Build Coastguard Worker    * - `uClibc <https://www.uclibc.org/>`_
103*49cdfc7eSAndroid Build Coastguard Worker      - Older uClibc might have problems.
104*49cdfc7eSAndroid Build Coastguard Worker
105*49cdfc7eSAndroid Build Coastguard Worker    * - `musl <https://musl.libc.org/>`_
106*49cdfc7eSAndroid Build Coastguard Worker      - Not yet fully supported. Check :master:`ci/alpine.sh` script.
107*49cdfc7eSAndroid Build Coastguard Worker
108*49cdfc7eSAndroid Build Coastguard Worker    * - Android
109*49cdfc7eSAndroid Build Coastguard Worker      - Please use `AOSP fork <https://android.googlesource.com/platform/external/ltp>`_.
110*49cdfc7eSAndroid Build Coastguard Worker
111*49cdfc7eSAndroid Build Coastguard WorkerC version
112*49cdfc7eSAndroid Build Coastguard Worker---------
113*49cdfc7eSAndroid Build Coastguard Worker
114*49cdfc7eSAndroid Build Coastguard WorkerLTP is compiled with ``-std=gnu99``.
115