kernel: Use elfutils-dev instead of libelf-dev

With kernel 5.0.6 we start seeing compile errors such as:

  HOSTCXX -fPIC scripts/gcc-plugins/randomize_layout_plugin.o
In file included from <stdin>:1:
/usr/include/libelf/libelf.h:28:5: error: "__LIBELF_INTERNAL__" is not defined, evaluates to 0 [-Werror=undef]
 #if __LIBELF_INTERNAL__
     ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

elutils-dev installs a different version of libelf.

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
Rolf Neugebauer 2019-04-05 19:01:51 +01:00
parent 658da5b94a
commit 250b14661b
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ RUN apk add \
gnupg \ gnupg \
installkernel \ installkernel \
kmod \ kmod \
libelf-dev \ elfutils-dev \
linux-headers \ linux-headers \
mpc1-dev \ mpc1-dev \
mpfr-dev \ mpfr-dev \

View File

@ -16,7 +16,7 @@ RUN apk add \
gmp-dev \ gmp-dev \
installkernel \ installkernel \
kmod \ kmod \
libelf-dev \ elfutils-dev \
mpc1-dev \ mpc1-dev \
mpfr-dev \ mpfr-dev \
sed \ sed \