[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl/arm: Fix build on arm64 + acpi



CC Ian

On Tue, Aug 29, 2017 at 11:04:16AM +0100, Wei Liu wrote:
> On Mon, Aug 28, 2017 at 06:27:51PM +0100, Wei Liu wrote:
> > On Fri, Aug 25, 2017 at 05:35:47PM -0400, Daniel Sabogal wrote:
> > > With musl, the build fails with the following errors:
> > > 
> > >   actypes.h:202:2: error: #error unknown ACPI_MACHINE_WIDTH
> > >    #error unknown ACPI_MACHINE_WIDTH
> > >     ^~~~~
> > >   actypes.h:207:9: error: unknown type name ‘acpi_native_uint’
> > >    typedef acpi_native_uint acpi_size;
> > >            ^~~~~~~~~~~~~~~~
> > >   actypes.h:617:3: error: unknown type name ‘acpi_io_address’
> > >      acpi_io_address pblk_address;
> > >      ^~~~~~~~~~~~~~~
> > > 
> > > This likely went undetected with glibc builds since glibc
> > > indirectly pulls __BITS_PER_LONG from the linux headers
> > > through a standard header. For musl, this is not the case.
> > > 
> > > Instead, use BITS_PER_LONG to fix the build.
> > > 
> > > Signed-off-by: Daniel Sabogal <dsabogalcc@xxxxxxxxx>
> > 
> > Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> 
> Now applied.
> 
> Ian, please backport this.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.