diff options
author | Manuel Bentele | 2020-11-20 08:16:25 +0100 |
---|---|---|
committer | Manuel Bentele | 2020-11-20 08:16:25 +0100 |
commit | f00717d56cb3078d90fb096f7771d17b4fa19fb5 (patch) | |
tree | 0f96ebf6cef2a16edb9cdf34aba650f1965d74df /README.md | |
parent | [KERNEL] Fix several connect/disconnect race conditions (diff) | |
download | dnbd3-f00717d56cb3078d90fb096f7771d17b4fa19fb5.tar.gz dnbd3-f00717d56cb3078d90fb096f7771d17b4fa19fb5.tar.xz dnbd3-f00717d56cb3078d90fb096f7771d17b4fa19fb5.zip |
[BUILD] add support for atomic operations not supported by hardware
This change links the dnbd3-server with 'libatomic' to add support for
atomic operations not supported by hardware (especially 32-bit hardware
architectures, such as ARM). Thus the dnbd3-server can also run on a
Raspberry Pi 1 running Rasperry Pi OS.
Note that the dnbd3-server is still linked to the libatomic, even if the
hardware supports atomic operations. In this case, the compiler resolves
atomic operations and replaces them automatically with specific built-in
functions. This unnecessary linkage can be removed in the future if the
GCC supports an upcoming option called automatic linking of libatomic
(--enable-autolink-libatomic).
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -12,6 +12,7 @@ This repository contains the source code for the following dnbd3 components: The dnbd3 components can be built for the following Linux kernel versions and Unix distributions: - Archlinux with **Linux kernel 5.9.x** or **5.4.x** + - Raspberry Pi OS with **Linux kernel 5.4.x** - Ubuntu 20.04 with **Linux kernel 5.4.x** - Ubuntu 18.04 with **Linux kernel 4.19.x** - CentOS 8 with **Linux kernel 4.18.x** @@ -37,6 +38,19 @@ pacman -S git \ rpm-tools ``` +#### Raspberry Pi OS with Linux kernel 5.4.x +```shell +apt-get install git \ + make \ + cmake \ + gcc \ + raspberrypi-kernel-headers \ + libfuse-dev \ + libjansson-dev \ + afl \ + rpm +``` + #### Ubuntu 20.04 with Linux kernel 5.4.x ```shell apt-get install git \ |