[PATCH] D110663: [Driver] Support Debian multiarch style lib/clang/14.0.0/x86_64-linux-gnu runtime path and include/x86_64-linux-gnu/c++/v1 libc++ path

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 23 11:04:26 PST 2021


MaskRay added a comment.

In D110663#3149389 <https://reviews.llvm.org/D110663#3149389>, @lebedev.ri wrote:

> Were you able to actually reproduce the problem that lead to revert of D107799 <https://reviews.llvm.org/D107799>, or is this based on blind guesses?

The patch will fix the "lib/clang/14.0.0/x86_64-unknown-linux-gnu/" issue on Debian/Ubuntu and their derivatives:
if Debian multiarch LLVM_DEFAULT_TARGET_TRIPLE=x86_64-linux-gnu is used, the `-unknown` should not be present.
I have noticed the issue on my Debian testing machine.

Whether this helps the revert of D107799 <https://reviews.llvm.org/D107799> (`-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on`): blind guess.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110663



More information about the cfe-commits mailing list