This has been reported upstream, see URL in bug description. This may be the same bug that's mentioned here: [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30252 Having recompiled my system with the new gcc-4.2.0 and glibc-2.6, I tried to run rtorrent. It segfaults: pa@loki ~/session $ rtorrent Caught Segmentation fault, dumping stack: 0 rtorrent [0x8058ff1] 1 rtorrent [0x806d6d9] 2 [0xffffe420] 3 [0x82e938e] 4 rtorrent [0x805877d] 5 /lib/libc.so.6(__libc_start_main+0xe0) [0xb7a159d0] 6 rtorrent(_ZN7torrent18set_max_open_filesEj+0x89) [0x8051b01] Aborted I have, for now, recompiled just rtorrent and libtorrent with gcc-4.1.2, which works fine. Reproducible: Always Steps to Reproduce:
Can you try to use -fno-strict-aliasing in CFLAGS and see if it works?
I just recompiled libtorrent and rtorrent with these parameters: CFLAGS="-Os -march=athlon-xp -pipe -ggdb3 -fno-strict-aliasing" CXXFLAGS="-Os -march=athlon-xp -pipe -ggdb3 -fno-strict-aliasing" emerge -1 libtorrent rtorrent So far, it seems to work fine.
*** Bug 181124 has been marked as a duplicate of this bug. ***
rtorrent report: http://libtorrent.rakshasa.no/ticket/926 but in reality, a gcc-4.2 bug
Created attachment 122558 [details, diff] 41_all_gcc42-PR30252.patch here's the patch. this should apply after 40_all_gcc42-PR30052.patch.
(In reply to comment #5) > Created an attachment (id=122558) [edit] > 41_all_gcc42-PR30252.patch > > here's the patch. this should apply after 40_all_gcc42-PR30052.patch. > I've just applied this to my local gcc-4.2.0 and gcc builds and rtorrent runs. (I changed the libtorrent and rtorrent ebuilds to not append-flags fno-strict-aliasing).
Built just new gcc with 1.2 patchet and this patch but still inkscape crashes
the fix from upstream has been put into the 1.3 patchset
Inkscape is still no good with 1.3 patchet
what exactly did you re-compile ? rebuilding just inkscape i dont think would be enough
Rebuild gcc-4.2.0 and after that inkscape
which isnt sufficient i dont think ... rebuild all the packages related to inkscape, first starting with dev-libs/libsigc++