-Wgcc-install-dir-libstdcxx is broken
Open
clang:driver
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Warnings about multiple gcc installations are issued even if clang driver got nothing to do with any gcc whatsoever (e.g., in combination with `-stdlib=libc++ --rtlib=compiler-rt --unwindlib=libunwind`). With -Wall -Werror it's very disruptive.
Observed on version: 22.1.2
Contributor guide
Research direction
Reproduce the warning with the reported non-GCC runtime combination, including -Wall -Werror, and compare it with a GCC-related invocation. Trace the -Wgcc-install-dir-libstdcxx diagnostic in the clang driver; done means unrelated libc++/compiler-rt/libunwind invocations no longer emit the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100