Assert when building #3492
Replies: 2 comments 1 reply
-
This appears to be a clang crash, not bazel (last 4 lines of output). On a quick search, I found llvm/llvm-project#64359 -- apparently this has already been reported. Unfortunately I don't reproduce the issue using 16.0.6 (Debian build), but that issue indicates that it may reproduce with LLVM head. I see this is with //explorer, though. Most of the development focus at this point is on //toolchain. If you're just looking to run code you can still use the explorer at http://carbon.compiler-explorer.com. If you're looking to contribute, you might be able to just sidestep the build issue (clone_context.cpp is going to be doing some template code that's probably both the crash cause, and not used by toolchain code). If you have questions regarding the toolchain work, #toolchain on Discord is the best spot to ask right now. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the answer. |
Beta Was this translation helpful? Give feedback.
-
Hello.
I've been trying (and failing) to compile carbon for a while now.
I'm using OpenSUSE Tumbleweed and I've tried various versions of clang (14.0.0, 16.0.6, 17.0.4).
When I run:
bazel run //explorer -- ./explorer/testdata/print/format_only.carbon
bazel is always failing with an assertion:
Unfortunately, I have never used bazel before, so it's difficult for me to debug the problem on my own. Is my clang version missing some feature? Do you have any idea, where to look at? Any help would be appreciated.
Thanks
Jakob
Beta Was this translation helpful? Give feedback.
All reactions