-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
identifier z
crashes LLVM
#23383
Comments
Something strange must be going on with your test program.
What happens if you try to compile that same file with Perhaps it has some kind of unicode or hidden characters in there? Can you attach the source file to this bug? |
it is just the ASCII lowercase letter z, typed using my keyboard. no tricks whatsoever. both gcc and clang work fine. further evidence:
I'm using Emscripten packaged for MSYS2:
|
Sounds like maybe come issue with the llvm build that MSYS2 is shipping. What happens if you do |
error is still reproduced using this clang. I will shortly try different |
I wonder if this is related to llvm/llvm-project#118734 -- a bug in MS' compiler and/or linker resulted in the builtins table getting miscompiled. I think we had thought this only affected MSVC, not MinGW, but it might fit the symptoms. |
I downgraded my MSYS2 package from version 3.1.74 to version 3.1.72 and the problem no longer occurs. version 3.1.72 fetches commit I'm in the mood to do some git bisecting |
@bottle2 Might be worth testing be2df95e9281985b61270bb6420ea0eeeffbbe59 versus be2df95e9281985b61270bb6420ea0eeeffbbe59^ before doing a full bisect. |
hey, I changed my mind. I'm scared of compile times. maybe I could configure ccache and study if it is possible to disable every feature and compile what is needed to debug this problem, but then I'd need a few days to grasp everything. I started a VCS-based PKGBUILD based on the existing one, but I gave up out of hesitation. my time is short right now. I think I might be able to personally get involved in three months only. in the meanwhile I renamed my object |
Version of emscripten/emsdk:
Failing command line in full and output with
-v
appended:The text was updated successfully, but these errors were encountered: