Gentoo Archives: gentoo-dev

From: "Kevin F. Quinn" <kevquinn@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] strict-aliasing rules, don't break them
Date: Sat, 17 Jun 2006 13:29:57
Message-Id: 20060617153236.39a1996d@c1358217.kevquinn.com
In Reply to: [gentoo-dev] strict-aliasing rules, don't break them by Luca Barbato
1 Easiest way to find these is to stick -Wall in global CFLAGS (or just
2 -Wstrict-aliasing if you want to be more specific), and grep the build
3 log for 'will break strict aliasing' (LC_ALL=C obviously). Such
4 issues should be filed upstream, I guess, to either get the Makefile to
5 forcibly set -fno-strict-aliasing or to rework the code.
6
7 FWIW here's a list of packages that show the warning, from my build logs
8 for packages I have installed:
9
10 app-antivirus/clamav-0.88.2
11 app-editors/vim-6.4
12 app-text/enscript-1.6.4-r2
13 app-text/ghostscript-esp-8.15.1_p20060430
14 dev-db/mysql-4.1.20
15 dev-java/gnu-classpath-0.90
16 dev-lang/nasm-0.98.39-r3
17 dev-lang/ocaml-3.08.4
18 dev-libs/cyrus-sasl-2.1.21-r2
19 dev-libs/glib-2.8.6
20 dev-libs/nspr-4.6.1-r2
21 dev-libs/nss-3.11-r1
22 dev-tcltk/itcl-3.3-r1
23 dev-util/valgrind-3.1.1
24 gnome-base/orbit-0.5.17-r1
25 kde-base/kdm-3.5.1
26 kde-base/kopete-3.5.1-r1
27 media-libs/faad2-2.0-r11
28 media-libs/fontconfig-2.2.3
29 media-libs/libsdl-1.2.9-r1
30 media-libs/xine-lib-1.1.2_pre20060328-r9
31 media-sound/audacious-0.2.3
32 media-video/vlc-0.8.5-r1
33 net-dialup/ppp-2.4.2-r15
34 net-fs/samba-3.0.22
35 net-irc/bitchx-1.1-r2
36 net-nds/openldap-2.3.24-r1
37 sys-apps/coreutils-5.94-r1
38 sys-apps/dbus-0.60-r4
39 sys-apps/shadow-4.0.15-r2
40 sys-devel/autogen-5.7.1
41 sys-devel/gcc-* (libjava)
42 sys-devel/gdb-6.3-r5
43 sys-fs/e2fsprogs-1.38-r1
44 sys-libs/slang-1.4.9-r2
45 x11-apps/xdm-1.0.4
46 x11-libs/gtk+-2.8.12
47 x11-libs/gtkglarea-1.2.3-r1
48 x11-libs/libXScrnSaver-1.1.0
49 x11-libs/libXaw-1.0.2
50 x11-libs/libXt-1.0.2
51 x11-wm/twm-1.0.1
52
53 Whether any of these actually trigger real problems or not I don't
54 know; but then probaly neither do the upstream developers...
55
56 --
57 Kevin F. Quinn

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] strict-aliasing rules, don't break them "Harald van Dijk" <truedfx@g.o>
Re: [gentoo-dev] strict-aliasing rules, don't break them "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>