[RFC PATCH v2 0/4] Check if the kernel image has Ultravisor support

Maxiwell S. Garcia maxiwell at linux.ibm.com
Tue Dec 3 07:39:52 AEDT 2019


On Fri, Nov 29, 2019 at 02:09:10PM +0800, Jeremy Kerr wrote:
> Hi Maxiwell,
> 
> > Thanks! I've applied these to the upcoming release candidate.
> 
> .. but just as I'm doing some final checks, it looks like this breaks
> one of my builds:
> 
>    In file included from ../discover/elf.c:6:
>    ../discover/elf.h:4:10: fatal error: elfutils/libdw.h: No such file or directory
>     #include <elfutils/libdw.h>
>              ^~~~~~~~~~~~~~~~~~
>    compilation terminated.
> 
> This is on x86_64 Debian. Could you take a look at this?
> 
> Thanks,

Hi Jeremy,

Thanks for review.
I forgot to add this package as a dependency.
The patch below does that.

Is it better add this dependency only in PowerPC
build?

Thanks

--- a/configure.ac
+++ b/configure.ac
@@ -115,6 +115,11 @@ AM_CONDITIONAL([HAVE_LIBFDT], [test x"$have_libfdt" = xyes])
AC_CHECK_HEADERS([stdarg.h])
AC_CHECK_HEADERS([varargs.h])

+AC_CHECK_HEADERS([elfutils/libdw.h],
+                 [],
+                 [AC_MSG_FAILURE([elfutils/libdw.h not found. Try installing the package libdw-dev or elfutils-devel.])]
+)
+


> 
> 
> Jeremy
> 


More information about the Petitboot mailing list