compilation fails due to gcc-4.4.0's strict aliasing requirements. Reproducible: Always Actual Results: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../native/jni/classpath -I../../../native/jni/native-lib -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -pedantic -Werror -O2 -march=native -pipe -c cpnet.c -fPIC -DPIC -o .libs/cpnet.o 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[3]: *** [cpnet.lo] Error 1
compilation fails due to the use of -Werror, which is bad in general.
0.98 does not use -Werror any more. Keeping this open until old slots are gone.
There is an option --disable-Werror to pass to configure to fix this.
(In reply to comment #3) > There is an option --disable-Werror to pass to configure to fix this. > Seems it was applied in all ebuilds already, including the one in summary: 14 Jul 2009; Andrew John Hughes <ahughes@redhat.com> gnu-classpath-0.97-r2.ebuild, gnu-classpath-0.98.ebuild: Disable -Werror to allow builds with GCC 4.4.