-
Notifications
You must be signed in to change notification settings - Fork 113
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
libc++-14 incompatibility #1602
Comments
libc++ is part of LLVM, I guess you mean libstdc++. |
The problem is that the upstream PSTL (which is also part of LLVM!) changed the definition of that macro: It's no longer defined to But the real problem is that onedpl is not including its own |
Quick correction, libc++-13 and libc++-14 are the apt packages proving those files. However your point is a good one that both GNU C++ and Clang++ use LLVM's PSTL implementation. I tried adding |
/* MACROS DUE TO llvm/llvm-project@3b9a1bb#diff-4c6821476cefc699b801f5fdbeda3341e3c64626dcf39a79621ea02031bdd50eL113 */ /* ALSO C.F. oneapi-src/oneDPL#1602 */ /* AND THE USING OF _PSTL_... MACROS IS REMOVED FROM ONEDPL NOWADAYS*/
* Update onedpl xmake.lua * Create fetch.lua * Update xmake.lua rc1 * Update xmake.lua /* MACROS DUE TO llvm/llvm-project@3b9a1bb#diff-4c6821476cefc699b801f5fdbeda3341e3c64626dcf39a79621ea02031bdd50eL113 */ /* ALSO C.F. oneapi-src/oneDPL#1602 */ /* AND THE USING OF _PSTL_... MACROS IS REMOVED FROM ONEDPL NOWADAYS*/ * Update xmake.lua typo * Update xmake.lua * bad ci ; try again ci on arch linux failed due to network error * Update xmake.lua * Refine config * refine fetch.lua remove unnecessary add_deps * Update xmake.lua * minor formatting refinement
Hi folks, looks like there is an issue with using gcc-14. When compiling Open3d using oneApi with gcc-14, I am getting a build error. I've traced it to
oneapi/dpl/pstl/algorithm_impl.h
. It seems to be an issue with the macro#if (_PSTL_UDR_PRESENT || _ONEDPL_UDR_PRESENT)
(actual error:error: operator '||' has no left operand
). Now, I'm reporting the bug here because_PSTL_UDR_PRESENT
is defined inpstl_config.h
but that is never included. My IDE is telling me that the definition is coming instead frompstl_config.h
libc++-14 shown below:Now, in all versions of the file included in my oneApi installation have a value after
_PSTL_UDR_PRESENT
. This is also the case with libc++-13. So the fix might need to be made on that end.The text was updated successfully, but these errors were encountered: