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
gollvm: golang.org/x/mod/semver package is not compiling on Ubuntu 20.04 (Github Actions) #42843
Comments
I can build the package with gccgo using I'm not sure how to interpret that output but it looks like a middle-end bug. |
CC @thanm @cherrymui |
My workflow (Github Actions) could be modified, to trace anything that you would require. @ianlancetaylor , you didn't explain what should I trace/log. |
I'm sorry, I don't know. |
Is this a problem only with the Release cmake target? Or do you also see it with DCMAKE_BUILD_TYPE=RelWithDebInfo? |
Checking whether compilation of Go modules would fail, as described in golang/go#42843 (comment)
It might no more be reproducible/no issue present - some errors of another kind are observable, during https://github.com/advancedwebdeveloper/clang_test_cpu_features/actions/runs/395799034 As you can observe in the logs - I caught these errors, while using Clang 9:
.
. I got the very same bug, as I caught with Clang 9, while using Clang 10:
|
OK, that looks a bit more actionable. I'll send a patch later this morning for the build problem. For the original issue (crash in Combine redundant instructions) I am able to reproduce that as well, will need to take a closer look. |
Change https://golang.org/cl/274832 mentions this issue: |
Change https://golang.org/cl/274833 mentions this issue: |
Yes, your patch resolved the last issue. |
I just submitted 29d8ea6cf9e08a51f89d72dbeca6c0aed4c2016a, that should resolve the llvm-goc runtime error. |
From https://github.com/advancedwebdeveloper/clang_test_cpu_features/commit/e8a830d4c248db0961e0f57f9d61e032efd1cb15/checks/1491324337/logs (Clang 9):
. |
You can investigate the log for GCC oriented build https://github.com/advancedwebdeveloper/clang_test_cpu_features/commit/e8a830d4c248db0961e0f57f9d61e032efd1cb15/checks/1491324454/logs - it looks like the compilation process itself crashes:
@thanm, which verbosity options should be enabled? |
I am confirming that go.googlesource.com/gollvm/+/29d8ea6cf9e08a51f89d72dbeca6c0aed4c2016a allowed to build gollvm with Clang 10: |
I just tried to build for "release" - and I didn't get that issue, with GCC, any more: Not sure if it makes sense to support Clang 9. Thanks for assisting/patching. |
Hi.
All jobs for https://github.com/advancedwebdeveloper/clang_test_cpu_features/runs/1446453097 failed.
Here is what I see here:
That's coming from Clang 11.
The text was updated successfully, but these errors were encountered: