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