http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394
--- Comment #14 from Jan Hubicka <hubicka at ucw dot cz> 2011-09-18 22:32:35 UTC --- > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50394 > > --- Comment #13 from Markus Trippelsdorf <markus at trippelsdorf dot de> > 2011-09-17 21:42:57 UTC --- > (In reply to comment #12) > > (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. > > The above happened when I configured --with-max-jobs=4 and --with-num-cpus=4. > With -with-max-jobs=1 and --with-num-cpus=4 I get a different crash on > startup: Hmm, this is very weird. Since max-jobs affects nothing in GCC, it is probably some sort of build machinery problem. I guess it will be needed to debug what really happens here? Honza