-
Notifications
You must be signed in to change notification settings - Fork 54
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
Version of OpenMP on clang-asan? #620
Comments
I don't know, sorry. |
As it compiles successfully on the six standard Github testbeds and the more exotic ones on rhub, I don't think it's a problem with the code. |
Originally, it seemed as if it related to a change that happened between clang-16 and clang-17, as clang 16 passes but the rest do not. However, the clang-16 implementation looks as if it is running gcc:
For that matter, so does the Ubuntu-clang testbed. I'm very confused, as usual, but it looks like clang has not completely implemented OpenMP 4.5, as it's failing on the |
For the record, because the logs will be deleted soon, this is the error:
I think this is probably a bug or just something that flang-new hasn't implemented yet. I suggest you open an issue in the llvm repo at https://github.com/llvm/llvm-project. |
Thanks; done here: llvm/llvm-project#94997. Edit: My fear is that flang isn't quite completely OpenMP 4.5 compliant even if clang is. |
Oh, and before you close this, @gaborcsardi, please check the clang16 and Ubuntu-clang testbeds as they look as if they're running gcc and not clang. Thank you! |
It is clearly using clang:
https://github.com/aadler/Delaporte/actions/runs/9441435213/job/26002150863#step:6:185 |
For C. It seems to be using Fortran and not flang for Fortran. |
gfortran yes, just like CRAN. |
That’s actually a relief, since gfortran recognizes the |
Well, yeah, clang16 is not really used for anything on CRAN any more: |
Hi. I am trying to add OpenMP SIMD instructions to the Delaporte package. The clang-asan testbed fails in compilation where the other test beds complete (except for valgrind, which we know has false positives for OpenMP). Is this an issue with the version of the ASAN compiler or is it showing something deeper I need to investigate?
The text was updated successfully, but these errors were encountered: