On Sat, 2021-06-12 at 16:37 +0900, Kazuyoshi Furutaka via Gcc-help wrote: > Any suggestions? > > Kazuyoshi > > From: Kazuyoshi Furutaka via Gcc-help <gcc-help@xxxxxxxxxxx> > Subject: Problem building older versions of gcc > Date: Fri, 04 Jun 2021 22:30:51 +0900 (JST) > > It seems to me that at some point of the build, for some > > > reasons the already installed libstdc++ which contain > > > GLIBCXX_3.4.29 was referenced or used in the currently > > > building system... cc1plus shouldn't link to libstdc++.so. Instead it links to static library libstdc++.a (at least by default). Did you override --with-stage1-libs in configure command line? -- Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University