From acf33455a327325887a35500eb44bb44fc99a54d Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Thu, 21 Jun 2018 19:11:34 +0530 Subject: [PATCH] readme: Update gcc-plugin-devel dependency Update gcc-plugin-devel package dependency for livepatch modules on ppc64le. Fixes #888. Suggested-by: Joe Lawrence Signed-off-by: Kamalesh Babulal --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b38f9a..1cf4995 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,9 @@ sudo dnf install pesign yum-utils openssl wget numactl-devel sudo dnf builddep kernel-${UNAME%.*} sudo dnf debuginfo-install kernel-${UNAME%.*} +# required on ppc64le +sudo dnf install gcc-plugin-devel + # optional, but highly recommended sudo dnf install ccache ccache --max-size=5G @@ -75,6 +78,9 @@ sudo yum install pesign yum-utils zlib-devel \ sudo yum-builddep kernel-${UNAME%.*} sudo debuginfo-install kernel-${UNAME%.*} +# required on ppc64le +sudo yum install gcc-plugin-devel + # optional, but highly recommended sudo yum install https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/c/ccache-3.3.4-1.el7.x86_64.rpm ccache --max-size=5G @@ -152,7 +158,7 @@ ccache --max-size=5G sudo yum install patchutils ``` -#### Ubuntu 14.04 +#### Ubuntu *NOTE: You'll need about 15GB of free disk space for the kpatch-build cache in `~/.kpatch` and for ccache.* @@ -169,6 +175,10 @@ Install the dependencies for the "kpatch-build" command: apt-get install dpkg-dev devscripts apt-get build-dep linux +# required on ppc64le +# e.g., on Ubuntu 18.04 for gcc-7.3 +apt-get install gcc-7-plugin-dev + # optional, but highly recommended apt-get install ccache ccache --max-size=5G @@ -232,6 +242,10 @@ Install the dependencies for the "kpatch-build" command: apt-get install dpkg-dev apt-get build-dep linux + # required on ppc64le + # e.g., on stretch for gcc-6.3 + apt-get install gcc-6-plugin-dev + # optional, but highly recommended apt-get install ccache ccache --max-size=5G