https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97787
--- Comment #11 from Xi Ruoyao <xry111 at mengyan1223 dot wang> --- In my case the error message is: /usr/bin/ld: js.ltrans2.ltrans.o: .symtab local symbol at index 1411 (>= sh_info of 404) /usr/bin/ld: js.ltrans2.ltrans.o: error adding symbols: bad value I've uploaded the "guilty" files, js.ltrans2.* to my server, at https://bf.mengyan1223.wang/assets/gcc-97787/ so someone can analysis it.