Comment 3 for bug 168548

Revision history for this message
Sandro Bonazzola (sandro-bonazzola) wrote :

Same strict aliasing brules brakage on inkscape 0.46:

./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1005: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1031: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1058: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1084: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1109: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1134: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1160: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1186: warning: dereferencing type-punned pointer will break strict-aliasing rules
extension/script/inkscape_perl_wrap.cpp:1211: warning: dereferencing type-punned pointer will break strict-aliasing rules
libgdl/gdl-dock-object.c:619: warning: dereferencing type-punned pointer will break strict-aliasing rules
libgdl/gdl-dock-object.c:637: warning: dereferencing type-punned pointer will break strict-aliasing rules
libgdl/gdl-dock-tablabel.c:182: warning: dereferencing type-punned pointer will break strict-aliasing rules
libgdl/gdl-dock-tablabel.c:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
libnrtype/Layout-TNG-Output.cpp:393: warning: dereferencing type-punned pointer will break strict-aliasing rules
libnrtype/Layout-TNG-Output.cpp:395: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules
widgets/desktop-widget.cpp:163: warning: dereferencing type-punned pointer will break strict-aliasing rules

On amd64 those breakage seems to cause randomly a segfault.

Gentoo Linux - Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64)
sys-devel/binutils: 2.18-r1
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"

./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-xft --with-gtkspell --disable-inkboard --disable-mmx --without-inkjar --with-gnome-vfs --with-gnome-print --enable-lcms --enable-poppler-cairo --with-perl --disable-gtk-doc --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu