[all-commits] [llvm/llvm-project] 8d1782: [clang][Driver] Fix Linux/sparc64 -m32 (#98124)
Rainer Orth via All-commits
all-commits at lists.llvm.org
Wed Jul 10 01:29:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d17824890f668cca654a6b821d642bd3192dc81
https://github.com/llvm/llvm-project/commit/8d17824890f668cca654a6b821d642bd3192dc81
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2024-07-10 (Wed, 10 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Gnu.cpp
Log Message:
-----------
[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`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list