http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394
--- Comment #12 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-09-17 19:35:56 UTC --- (In reply to comment #11) > With fix I commited for PR50430 and the workaround for PR50383 my build dies > on > java modules. I believe it is the problem we run into with Michael on the > opensuse conference and we made that module to be last (it is because on my > setup sun java does not work and ibm java apparently breaks with current > libreoffice). So perhaps this is all needed? It will build fine with LTO (and --without-java), but the resulting binary crashes during startup: terminate called after throwing an instance of 'com::sun::star::container::NoSuchElementException' It throws an exception in: xmlreader::XmlReader::XmlReader(rtl::OUString const&) () from image/usr/ure/lib/libxmlreader.so. This happens in xmlreader/source/xmlreader.cxx. I haven't looked deeper yet, but a non LTO build shows no problems at all.