Bug#505596: FTBFS with GCC 4.4: dereferencing type-punned pointer...

Martin Michlmayr tbm at cyrius.com
Thu Nov 13 19:17:08 UTC 2008


Package: classpath
Version: 2:0.97.2-1.1
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.4

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of classpath_2:0.97.2-1.1 on em64t by sbuild/amd64 0.53
...
> cc1: warnings being treated as errors
> cpnet.c: In function 'cpnet_addMembership':
> cpnet.c:583: error: dereferencing type-punned pointer will break strict-aliasing rules
> cpnet.c: In function 'cpnet_dropMembership':
> cpnet.c:598: error: dereferencing type-punned pointer will break strict-aliasing rules
> make[4]: *** [cpnet.lo] Error 1

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





More information about the pkg-java-maintainers mailing list