-
Notifications
You must be signed in to change notification settings - Fork 3.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
[R] r-arrow cannot be compiled with clang #43398
Comments
This must be an issue with cpp11 and the clang+msvc stl, the relevant code is untouched for 4 years and both our CI and CRAN builds with clang. So I don't quite understand why this error would only happen for you (afaik your clang is correct here). edit: A quick repro of the issue errors in both clang and gcc https://godbolt.org/z/oGPqc9rxr 🤷 I don't know if there is a way to solve this without patching cpp11 |
Thanks a lot for the quick response and the godbolt example. It seems this is failing even with the older compiler versions that we used. Perhaps an issue in https://github.com/r-lib/cpp11 is warranted? I also ended up looking through the changes from r-cpp11 and couldn't find something that stood out to me. However, the last passing windows build we have in conda-forge used
Perhaps something regressed between then and 0.4.7? Can you check what version you're building against? |
Hm yeah I don't see anything here either: r-lib/cpp11@ada0d7c...ff363d7#diff-65ceb5633686ca7a39f13ea1af039ba5b7bbc7bd225ca4eedbe181cf097ab0e6 Can you try the arrow build with that version pinned? |
Looking at the diff, I think it's this change that is responsible, which landed in 0.4.4 |
Not easily, but I'll try |
Since this is happening in |
Can confirm that things pass with r-cpp11 v0.4.3 |
Generally MinGW GCC compiler and MSYS2 build tools, which versions exactly depends on the version of R. Here is a full listing. For our case R 4.4 is most relevant, which uses GCC 13 Edit: Also some potentially useful (older) references: conda-forge/conda-forge.github.io#1654 (comment) |
Ok, as noted in the linked issue you are not going to use rtools for conda, so an issue on cpp11 seems to be the right recourse + patching it as a workaround? |
Describe the bug, including details regarding any error messages, version, and platform.
In conda-forge, we didn't have windows builds for R>4.1 for a while (needed large infrastructural changes), but now that it's sorted, we're having trouble getting the builds for r-arrow back on track. They were dropped completely for v15 & v16, and now, trying to re-add them runs into compilation errors:
This is with the combination of clang (more specifically
r_clang_win-64
) + MSVC's C++ STL.Component(s)
Packaging, R
The text was updated successfully, but these errors were encountered: