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

[Xen-devel] 4.9.0-rcX can not be built for ARM64



Dear All,


During the XEN 4.9.0-rc4 testing on Renesas R-Car Gen3 platform I faced a bug at compilation step.

Again, the libxl_arm_acpi.c can not be built:


| In file included from libxl_arm.h:17:0,
|                  from libxl_arm_acpi.c:19:
| libxl_arm_acpi.c: In function 'libxl__get_acpi_size':
| libxl_internal.h:129:44: error: 'size' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|      (((unsigned long)(_val)+(1UL<<(_order))-1) & ~((1UL<<(_order))-1))
|                                             ^
| libxl_arm_acpi.c:101:14: note: 'size' was declared here
|      uint64_t size;
|               ^
| libxl_arm_acpi.c: In function 'libxl__prepare_acpi':
| libxl_arm_acpi.c:152:33: error: 'size' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|      dom->acpi_modules[0].length += ROUNDUP(acpitables[MADT].size, 3);
|                                  ^
| libxl_arm_acpi.c:126:12: note: 'size' was declared here
|      size_t size;
|             ^


Please see the full log attached.

The build environment is issued by Yocto Krogoth (krogoth-15.0.2).

The toolchain used is "aarch64-poky-linux-c++ (Linaro GCC 5.2-2015.11-2) 5.2.1 20151005"


--

*Andrii Anisov*


Attachment: log.do_compile.18593
Description: Text document

_______________________________________________
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®.