Easiest way to find these is to stick -Wall in global CFLAGS (or just -Wstrict-aliasing if you want to be more specific), and grep the build log for 'will break strict aliasing' (LC_ALL=C obviously). Such issues should be filed upstream, I guess, to either get the Makefile to forcibly set -fno-strict-aliasing or to rework the code.
FWIW here's a list of packages that show the warning, from my build logs for packages I have installed: app-antivirus/clamav-0.88.2 app-editors/vim-6.4 app-text/enscript-1.6.4-r2 app-text/ghostscript-esp-8.15.1_p20060430 dev-db/mysql-4.1.20 dev-java/gnu-classpath-0.90 dev-lang/nasm-0.98.39-r3 dev-lang/ocaml-3.08.4 dev-libs/cyrus-sasl-2.1.21-r2 dev-libs/glib-2.8.6 dev-libs/nspr-4.6.1-r2 dev-libs/nss-3.11-r1 dev-tcltk/itcl-3.3-r1 dev-util/valgrind-3.1.1 gnome-base/orbit-0.5.17-r1 kde-base/kdm-3.5.1 kde-base/kopete-3.5.1-r1 media-libs/faad2-2.0-r11 media-libs/fontconfig-2.2.3 media-libs/libsdl-1.2.9-r1 media-libs/xine-lib-1.1.2_pre20060328-r9 media-sound/audacious-0.2.3 media-video/vlc-0.8.5-r1 net-dialup/ppp-2.4.2-r15 net-fs/samba-3.0.22 net-irc/bitchx-1.1-r2 net-nds/openldap-2.3.24-r1 sys-apps/coreutils-5.94-r1 sys-apps/dbus-0.60-r4 sys-apps/shadow-4.0.15-r2 sys-devel/autogen-5.7.1 sys-devel/gcc-* (libjava) sys-devel/gdb-6.3-r5 sys-fs/e2fsprogs-1.38-r1 sys-libs/slang-1.4.9-r2 x11-apps/xdm-1.0.4 x11-libs/gtk+-2.8.12 x11-libs/gtkglarea-1.2.3-r1 x11-libs/libXScrnSaver-1.1.0 x11-libs/libXaw-1.0.2 x11-libs/libXt-1.0.2 x11-wm/twm-1.0.1 Whether any of these actually trigger real problems or not I don't know; but then probaly neither do the upstream developers... -- Kevin F. Quinn
signature.asc
Description: PGP signature