https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99172
Bug ID: 99172 Summary: Build failure with slibtool and vtv Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-user at riseup dot net Target Milestone: --- Created attachment 50227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50227&action=edit Full build log. When building gcc with slibtool (https://dev.midipix.org/cross/slibtool) the build will fail in the libstdc++.la make target in libstdc++-v3/src. /usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lvtv This doesn't occur with GNU libtool because it silently filters out the invalid -lvtv while slibtool does not. I attached a full build log. Also see this gentoo issue. https://bugs.gentoo.org/767706 To build gcc with slibtool: export MAKE='make LIBTOOL=rdlibtool' Unfortunately gcc doesn't respect the value of the MAKEFLAGS environment variable.