]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
ts-xen-build-prep: Install libelf-dev for benefit of linux.git
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 15 Nov 2017 11:00:07 +0000 (11:00 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 15 Nov 2017 13:27:34 +0000 (13:27 +0000)
Linux upstream has started needing libelf-dev.  Without it, recent tip
fails (in our configuration) like this:

 Makefile:938: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.

This is because kernel now is using objtool to create unwind
information.  This needs libelf to work.  Advantage is that this
approach no longer depends on assembler sources being heavily
annotated with unwind hints.

CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Boris Ostrovsky <boris.ostrovsky@oracle.com>
CC: Juergen Gross <jgross@suse.com>
CC: Paul Durrant <paul.durrant@citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Juergen Gross <jgross@suse.com>
ts-xen-build-prep

index 3e98364a35a418335b0b1f568f4fe4bc8f951c06..3309216680a8f3581d848c9e1798febe36c3745b 100755 (executable)
@@ -207,6 +207,7 @@ sub prep () {
                       autoconf automake libtool xsltproc
                       libxml2-utils libxml2-dev
                       libdevmapper-dev w3c-dtd-xhtml libxml-xpath-perl
+                      libelf-dev
                       ccache nasm checkpolicy ebtables);
 
     if ($ho->{Suite} !~ m/squeeze|wheezy/) {