Bootstraping GCC 13.2 with llvm/clang 17? #5273
Replies: 1 comment
-
GCC in Homebrew is built with Apple's clang. Use of different compilers (like LLVM 17) is not supported or tested on CI. I believe this issue might be fixed by https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=68057560ff1fc0fb2df38c2f9627a20c9a8da5c5 and https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e95ab9e60ce1d9aa7751d79291133fd5af9209d7 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I'm trying to build GCC 13.2 with the latest clang available in Homebrew (17.0.6) and the build fails with multiple errors, but apparently the cause is a C++ header file:
I tried exactly the same build script with llvm@16 and the build passed.
I'm using an Intel macOS 14.3.1 and CLT 15.1. The GCC configuration has an explicit
--enable-bootstrap
and the same patches as used by Homebrew GCC 13.2.I reported this issue first to iains/gcc-13-branch#17, but the maintainer wishes Homebrew to confirm the issue.
@fxcoudert?
Beta Was this translation helpful? Give feedback.
All reactions