This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Richi noticed that using -flto in the testsuite fails badly. It turns out to be because the support files in libtestc++.a get built with -flto, but then ar and ranlib don't know what to do with those LTO objects. We investigated how to pass the LTO plugin to ar and ranlib but the simplest solution is to not use LTO for libtestc++.a, as done by this patch. * testsuite/lib/libstdc++.exp (v3-build_support): Add -fno-lto to additional flags for compiling libtestc++.a objects. Tested x86_64-linux, committing to trunk, gcc-6-branch, and gcc-5-branch.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |