[Pkg-xen-devel] Bug#387106: FTBFS with GCC 4.2: cast from pointer
to integer of different size
Martin Michlmayr
tbm at cyrius.com
Tue Sep 12 11:29:28 CEST 2006
Package: xen-unstable
Version: 3.0-unstable+hg11292-2
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 from unstable or gcc-4.2 from experimental.
This is the same as #374395, filed against xen-3.0.
> Automatic build of xen-unstable_3.0-unstable+hg11292-2 on em64t by sbuild/amd64 0.49
...
> make[5]: Entering directory `/build/tbm/xen-unstable-3.0-unstable+hg11292/debian/build/build-utils_amd64/tools/firmware/acpi'
> 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[5]: *** [acpigen] Error 1
> make[5]: Leaving directory `/build/tbm/xen-unstable-3.0-unstable+hg11292/debian/build/build-utils_amd64/tools/firmware/acpi'
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-xen-devel
mailing list