Skip to content

[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

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

zhaomaosu
Copy link
Contributor

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.

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.
@zhaomaosu zhaomaosu requested a review from a team as a code owner August 23, 2024 08:42
@github-actions github-actions bot added the loader Loader related feature/bug label Aug 23, 2024
@zhaomaosu
Copy link
Contributor Author

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.

@zhaomaosu
Copy link
Contributor Author

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.

@zhaomaosu zhaomaosu added the v0.10.x Include in the v0.10.x release label Aug 26, 2024
@zhaomaosu
Copy link
Contributor Author

kindly ping @oneapi-src/unified-runtime-maintain

@zhaomaosu zhaomaosu added the sanitizer Sanitizer layer issues/changes/specification label Aug 26, 2024
@omarahmed1111 omarahmed1111 added the ready to merge Added to PR's which are ready to merge label Aug 26, 2024
@omarahmed1111
Copy link
Contributor

omarahmed1111 commented Aug 26, 2024

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 0.10.x changes.

@omarahmed1111 omarahmed1111 merged commit b4195cb into oneapi-src:main Aug 26, 2024
71 of 72 checks passed
sarnex pushed a commit to intel/llvm that referenced this pull request Aug 26, 2024
omarahmed1111 added a commit to omarahmed1111/unified-runtime that referenced this pull request Sep 6, 2024
…ismatch

[DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem
omarahmed1111 added a commit to omarahmed1111/unified-runtime that referenced this pull request Sep 9, 2024
…ismatch

[DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem
igchor pushed a commit to omarahmed1111/unified-runtime that referenced this pull request Sep 9, 2024
…ismatch

[DeviceSanitizer] Fix libstdc++ and libc++ mismatch problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loader Loader related feature/bug ready to merge Added to PR's which are ready to merge sanitizer Sanitizer layer issues/changes/specification v0.10.x Include in the v0.10.x release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants