https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113177
Bug ID: 113177 Summary: GCC 8.5.0 build with libstdcxx gets library versions mixed up Product: gcc Version: 8.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: eyalroz1 at gmx dot com Target Milestone: --- If I try to build GCC versions 8.5.0, or 6.5.0, on a recent GNU/Linux distribution, e.g. Devuan Excalibur (~= Debian Trixie), with the following config: ./configure --enable-languages=c,c++ at some point in the build, I get: libstdc++.so.6: version `GLIBCXX_3.4.30' not found and it seems like the build either tries to use the host system's libstdc++, or otherwise mixes up the versions of things it's using.