Created attachment 283191 [details] compressed build log Build fails with gcc-4.5.2 and forced --as-needed --no-add-needed, log is attached
Created attachment 283193 [details] emerge --info
<cut> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libdbus-gtool.a(dbus-gidl.o): undefined reference to symbol 'g_boxed_type_register_static' /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'g_boxed_type_register_static' is defined in DSO /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libgobject-2.0.so so try adding it to the linker command line /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libgobject-2.0.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status </cut> This seems fixed in 0.98 where $(DBUS_GLIB_LIBS) is included in LDADD like for dbus-bash-completion-helper. And gobject is part of it, added in configure.ac
and if not, provide new logs for 0.98 :)