https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64837
--- Comment #19 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Markus Trippelsdorf from comment #18) > (In reply to H.J. Lu from comment #17) > > (In reply to Markus Trippelsdorf from comment #16) > > > (In reply to H.J. Lu from comment #15) > > > > (In reply to Markus Trippelsdorf from comment #14) > > > > > Well, at least your patch survives a Firefox LTO build using gold > > > > > on a ppc64 test machine. > > > > > > > > Does it build without my patch? > > > > > > Yes. So all I've tested is that it doesn't crash. > > > > Can you lower file descriptor limit such that GCC > > crashes without my patch and works with my patch? > > Martin is currently running these tests with Chromium... > > (Also Carry apparently thinks that the > https://sourceware.org/bugzilla/show_bug.cgi?id=15660 > issue is caused by archives and not by normal object files.) Hello. I can confirm that following patch: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blobdiff;f=gold/archive.cc;h=6d259803185368ccbe3b71cda4040d90105b66d3;hp=69107f5fc072ecce25df57cbe22464f74d2cc6da;hb=2cfbf2fece582c29df348104b28677c38a8301f4;hpb=8265ef950202a4bf0d3444802ad5d7087b4b185d works for me. Before the patch was applied, ulimit -n 10000 wasn't enough to survive chrome link. With the patch, even 100 is enough. Thanks, Martin