-
Notifications
You must be signed in to change notification settings - Fork 125
[DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem #2006
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
[DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem #2006
Conversation
UR will force link with libstdc++, but in in-tree build, if LLVM is built with libc++, this will cause mismatch problem. So, in such case, we need to build symbolizer.cpp with libc++ abi and link libc++ in.
Hi @oneapi-src/unified-runtime-maintain, could you please help review this PR? This is an important fix for sanitizer layer and we need this change to be included in v0.10.x release branch. Thanks. |
The risk of this change is low. It will not introduce any functionality of ABI change. Only fix a build failure and also will not impact syclos part. |
kindly ping @oneapi-src/unified-runtime-maintain |
As I understand, this PR doesn't affect intel/llvm but I created a UR bump PR for it here for syncing purposes as it will still need to land there and I didn't want to batch this change with another non |
…ismatch [DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem
…ismatch [DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem
…ismatch [DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem
UR will force link with libstdc++, but in in-tree build, if LLVM is built with libc++, this will cause mismatch problem. So, in such case, we need to build symbolizer.cpp with libc++ abi and link libc++ in.