[Pkg-acpi-devel] Bug#529273: FTBFS with GCC 4.4: dereferencing pointer breaks strict-aliasing rules

Martin Michlmayr tbm at cyrius.com
Mon May 18 11:24:50 UTC 2009


Package: kacpimon
Version: 20081214-1
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.4

Your package fails to build with GCC 4.4.  You can reproduce this problem
with gcc-4.4/g++-4.4 from unstable.

> Automatic build of kacpimon_20081214-1 on em64t by sbuild/amd64 0.53
...
> cc -g -O2 -Wall -Wextra -Wundef -Wshadow -Werror   -c -o kacpimon.o kacpimon.c
> cc -g -O2 -Wall -Wextra -Wundef -Wshadow -Werror   -c -o acpi_ids.o acpi_ids.c
> cc1: warnings being treated as errors
> acpi_ids.c: In function 'T.24':
> acpi_ids.c:184: error: dereferencing pointer 'ghdr' does break strict-aliasing rules
> acpi_ids.c:182: note: initialized from here
> acpi_ids.c:116: error: dereferencing pointer 'ghdr' does break strict-aliasing rules
> acpi_ids.c:115: error: dereferencing pointer 'ghdr' does break strict-aliasing rules
> acpi_ids.c:114: error: dereferencing pointer 'ghdr' does break strict-aliasing rules
> acpi_ids.c:93: note: initialized from here
> make[1]: *** [acpi_ids.o] Error 1
> make[1]: Leaving directory `/build/tbm/kacpimon-20081214'

-- 
Martin Michlmayr
http://www.cyrius.com/





More information about the Pkg-acpi-devel mailing list