Martin Michlmayr
2006-Jun-19 08:12 UTC
[Pkg-xen-devel] Bug#374395: FTBFS with GCC 4.2: cast from pointer to integer of different size
Package: xen-3.0 Version: 3.0.2+hg9681-1 Your package fails to build with GCC 4.2. Version 4.2 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. The bug below is in your package though and not because I'm using a snapshot of the compiler so please take a look at it. You can reproduce this with the gcc-snapshot package.> Automatic build of xen-3.0_3.0.2+hg9681-1 on usurper by sbuild/amd64 0.46...> gcc -o acpigen -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -Wdeclaration-after-statement -I. -I../../libxc acpi_build.c acpi_dsdt.c acpi_facs.c acpi_fadt.c acpi_gen.c acpi_madt.c acpi_rsdt.c > cc1: warnings being treated as errors > acpi_build.c: In function 'UpdateTable': > acpi_build.c:114: warning: cast from pointer to integer of different size > acpi_build.c:118: warning: cast from pointer to integer of different size > acpi_build.c:132: warning: cast from pointer to integer of different size > acpi_build.c:144: warning: cast from pointer to integer of different size > acpi_build.c:158: warning: cast from pointer to integer of different size > acpi_build.c:164: warning: cast from pointer to integer of different size > make[3]: *** [acpigen] Error 1 > make[3]: Leaving directory `/build/tbm/xen-3.0-3.0.2+hg9681/debian/build/build-tools/tools/firmware/acpi'-- Martin Michlmayr http://www.cyrius.com/