-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
seastar does not build with clang-17 + libstdc++ + C++23 #1772
Comments
with clang-18 (90c397fc56b7a04dd53cdad8103de1ead9686104), the tree builds just fine. but with clang-17.0.6, the FTBFS still exists. |
We should really have a GH action that compiles the code with all various supported (or not) compilers... |
Probably we can switch to GitHub workflow and use something like https://github.com/aminya/setup-cpp? (was proposed at #1999 (comment) as well) |
The only challenge is that it might take ages, so we want to do it selectively (opt-in?). |
why switching to another CI would take ages? we just need to
but IMO, the challenge is probably that the priority is not high enough. |
If we compile on Github infra, it'll be very slow. If we run on our infra, it'll take resources (which we may or may not have) |
not that slow. it took 32m to finish all the builds and tests, including the one with dpdk enabled. see https://github.com/tchaikov/seastar/actions/runs/7606516120, while CircleCI takes 35min in general. |
created #2050 to add the github workflow based test. will drop the circleci based workflow once the github one gets merged. |
please note, clang-18 (230c13d59d0843c3b738920b85c341cc78a61fa9) + libstdc++ (from 13.2.1) + C++23 builds fine. |
i just bisected llvm, it seems it was 128b3b61fe6768c724975fd1df2be0abec848cf6 which fixed the issue. this commit was included by llvm/llvm-project#70548, which in turn fixes llvm/llvm-project#59827 . |
i created https://src.fedoraproject.org/rpms/clang/pull-request/225 to backport this fix to rawhide, hopefully once it gets merged we can backport the patch to f39 and f38. |
but, please note, our docker image used for running CI is based on ubuntu:mantic. so in order to get the change included by ubuntu and debian, we need to file a ticket on launchpad and BTS. but a simpler way is just to redo the image, see #2058, and use Clang-18 instead of Clang-17. |
i think this issue has served its purpose. as the fixes in distros packagings or in clang/llvm are not in the scope of Seastar, i am closing this issue. |
and the build fails with errors like
this failure can be reproduced with
this failure cannot be reproduced with GCC-13 + C++23.
this is very likely a bug in Clang. and it has been reported at llvm/llvm-project#61415
The text was updated successfully, but these errors were encountered: