-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-18 failed with exit code 139 #170773
Comments
Hi @teshields thanks for the report. Given it's an internal compiler crash during code generation, it seems very likely that this is an upstream issue, i.e., a bug in LLVM itself, rather than a specific issue with Homebrew's installation and packaging. I would recommend you try it again with LLVM's own binaries to confirm, and if so, report it directly to them so they can fix it. |
OK, I checked that the error occurs with Homebrew LLVM 18.1.5, and then downloaded & built the LLVM 18.1.5 source distribution. The error occurs with clang 18.1.5 as built from source, so I reported the issue to the LLVM Project: clang (18.1.5) frontend command failed with exit code 134. |
This bug does not occur using Homebrew clang version 18.1.6 |
So, I guess it's fixed? |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I am running the regression tests for the next release of Ox, prior to the release.
The regression test runs through all of the C/C++ installed compilers (Apple's C/C++, Homebrew GNU C/C++ and Homebrew LLVM C/C++). I had just added the latest release of Homebrew clang (version 18.1.4) prior to running the test.
The failure occurred on 2 of 48 test cases for 1 of the source files in each of those 2 test cases (both generated by Homebrew Bison version 3.8.2). The failure did not occur using earlier releases of Homebrew clang (versions 17.0.6, 16.0.6, 15.0.7, 14.0.6 & 13.0.1).
The crash backtrace file does not exist, but here are the other two requested files:
crash.zip
What happened (include all command output)?
What did you expect to happen?
I expected clang to compile the source file with no issues.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: