https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111925
yancheng.li at foxmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED --- Comment #3 from yancheng.li at foxmail dot com --- using gcc-ar and gcc-ranlib instead of ar/ranlib could solve this problem.