From 9bd0efee359d5436b3b8433dc76c69315b1126a3 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 16 Nov 2020 09:01:54 +0100 Subject: [KERNEL] add support for Linux kernel 4.19 on Ubuntu 18.04 (GCC 7.5) This patch replaces the __VA_OPT__ varadic macro for the C preprocessor with a builtin GCC extension for optional varadic arguments. Based on this change, the dnbd3 Linux kernel module can be also built with GCC 7.5 on a fresh Ubuntu 18.04 with Linux kernel version 4.19.x. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a46423e..1e60477 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ The dnbd3 components can be built for the following Linux kernel versions and Un - Archlinux with **Linux kernel 5.9.x** or **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** - FreeBSD 12.1 (only user space programs, eg. dnbd3-server) @@ -50,6 +51,19 @@ apt-get install git \ Note that `afl` is not available on Ubuntu 20.04 and should be built from the [original sources](https://github.com/google/AFL). +#### Ubuntu 18.04 with Linux kernel 4.19.x +```shell +apt-get install git \ + make \ + cmake \ + gcc \ + linux-headers-generic \ + libfuse-dev \ + libjansson-dev \ + afl \ + rpm +``` + #### CentOS 8 with Linux kernel 4.18.x ```shell yum install git \ -- cgit v1.2.3-55-g7522