Created attachment 316305 [details] emerge --info '=dev-libs/dbus-glib-0.98' Can't install, failed with error: Making all in examples make[3]: Entering directory `/var/tmp/portage/dev-libs/dbus-glib-0.98/work/dbus-glib-0.98-build/dbus/examples' /bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h /var/tmp/portage/dev-libs/dbus-glib-0.98/work/dbus-glib-0.98/dbus/examples/example-service.xml /bin/sh ../../libtool --mode=execute ../../dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h /var/tmp/portage/dev-libs/dbus-glib-0.98/work/dbus-glib-0.98/dbus/examples/example-signal-emitter.xml make[3]: *** [example-service-glue.h] segmentation fault
Please attach the entire build log to this bug report.
Created attachment 316381 [details] Building log of package
Created attachment 316383 [details] Environment
(In reply to comment #0) > Can't install, failed with error: > … > make[3]: *** [example-service-glue.h] segmentation fault A more descriptive summary would probably be: dev-libs/dbus-glib-0.98 - install fails with example-service-glue.h segfault The current dev-libs/dbus-glib-0.98 - ? doesn't describe the problem or the symptoms ;).
Thanks. Subject updated. =)
CFLAGS="-march=native -pipe"? 1. -march=native will *not* work for i5 on gcc-4.5 as it gets misdetected 2. missing -O optimization flag, like -O2, is a very bad idea and might cause miscompiling Please update to sane flags, like CFLAGS="-march=core2 -pipe -O2" and try again.
It doesn't help... Have same error.
*** This bug has been marked as a duplicate of bug 328903 ***
(In reply to comment #7) > It doesn't help... Have same error. Same error as in bug 328903. Need to find a way to attach gdb to the crashing command within /var/tmp/portage/dev-libs/dbus-glib/... like mentioned in bug 328903. But everytime I've seen this error (and I've seen it multiple times) it has gone away by rebuilding the reverse dependencies with __sane *FLAGS__: emerge -e dbus-glib
Thanks. It's works (emerge -e dev-libs/dbus-glib-0.98) with CFLAGS="-march=core2 -pipe -O2"
Where can I find sane CFLAGS? Here - http://en.gentoo-wiki.com/wiki/Safe_Cflags#-march.3Dnative - I read that "-march=native" is good practice.
(In reply to comment #11) > Where can I find sane CFLAGS? > Here - http://en.gentoo-wiki.com/wiki/Safe_Cflags#-march.3Dnative - I read > that "-march=native" is good practice. native is perfect except when when the compiler doesn't have full support for the used CPU ( and gentoo-wiki.com is not official, the wiki is http://wiki.gentoo.org/ ) i'd go for gcc-4.6 if I were you, it's about to go stable anyway
Thx