]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
kernel: install libelf 923/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 4 Dec 2017 14:42:46 +0000 (15:42 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 4 Dec 2017 14:42:46 +0000 (15:42 +0100)
ORC unwinder (default on x86 since 4.15) requires it.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
kernel/build/setup

index cb94adf9298e5df9c6a4f262a4024a0c77a9d86d..9c4a0683b7093affbb760d2d99690d0c493d44a8 100644 (file)
@@ -31,10 +31,12 @@ export LC_ALL=C # the following is vulnerable to i18n
 
 if test -f /etc/redhat-release ; then
     $SUDO yum install -y redhat-lsb-core
+    $SUDO yum install -y elfutils-libelf-devel  # for ORC unwinder
 fi
 
 if which apt-get > /dev/null ; then
     $SUDO apt-get install -y lsb-release
+    $SUDO apt-get install -y libelf-dev  # for ORC unwinder
 fi
 
 case $(lsb_release -si) in