[PATCH] D118700: Add support to --gcc-toolchain flag for GCC compiled with --enable-version-specific-runtime-libs.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 14 01:10:34 PST 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

The library path (`lib/gcc/$triple/$libdir`) still looks weird and I think I don't understand the GCC rationale well.
If you still think it's the right thing the do, let's do it.

For driver tests involving search paths, it's usually worth checking whether the test passes with `-DCLANG_DEFAULT_RTLIB=compiler-rt -DCLANG_DEFAULT_UNWINDLIB=libunwind -DCLANG_DEFAULT_CXX_STDLIB=libc++`.
Some groups use this configuration and expect the tests to pass in this mode.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118700/new/

https://reviews.llvm.org/D118700



More information about the cfe-commits mailing list