diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2024-07-10 10:29:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 10:29:00 +0200 |
commit | 8d17824890f668cca654a6b821d642bd3192dc81 (patch) | |
tree | 02d6ab83c5cffbd968b65f27cc17e3bed7757478 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 4b2daeccc765915d50144d03e6354c362436c3b8 (diff) | |
download | llvm-8d17824890f668cca654a6b821d642bd3192dc81.zip llvm-8d17824890f668cca654a6b821d642bd3192dc81.tar.gz llvm-8d17824890f668cca654a6b821d642bd3192dc81.tar.bz2 |
[clang][Driver] Fix Linux/sparc64 -m32 (#98124)
`clang` currently fails to find a GCC installation on Linux/sparc64 with
`-m32`. `strace` reveals that `clang` tries to access
`/usr/lib/gcc/sparcv9-linux-gnu` (which doesn't exist) instead of
`/usr/lib/gcc/sparc64-linux-gnu`.
It turns out that 20d497c26fc95c80a1bacb38820d92e5f52bec58 was overeager
in removing some of the necessary directories.
Fixed by reverting the Linux/sparc* part of the patch.
Tested on `sparc64-unknown-linux-gnu`.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions