Skip to content

Revert "[SYCL] Generate imported symbol files in sycl-post-link" #14183

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 1 commit into from
Jun 14, 2024

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Jun 14, 2024

@sarnex sarnex requested review from a team as code owners June 14, 2024 15:30
@sarnex
Copy link
Contributor Author

sarnex commented Jun 14, 2024

Merging now to unbreak postcommit

@sarnex sarnex merged commit cedb48f into sycl Jun 14, 2024
4 checks passed
@sarnex sarnex temporarily deployed to WindowsCILock June 14, 2024 15:42 — with GitHub Actions Inactive
@asudarsa
Copy link
Contributor

Thanks @sarnex

@LU-JOHN and I had a chat and he will fix and resubmit.

@sarnex sarnex temporarily deployed to WindowsCILock June 14, 2024 17:33 — with GitHub Actions Inactive
@aelovikov-intel aelovikov-intel deleted the revert-13965-imported_symbols branch June 14, 2024 17:59
asudarsa pushed a commit that referenced this pull request Jun 14, 2024
Add sycl-post-link option "-emit-imported-symbols" to generate a
property set listing imported symbols for each device image.
This work is part of adding dynamic linking support for SYCL.
Design document:
https://github.com/intel/llvm/blob/sycl/sycl/doc/design/SharedLibraries.md

This is a resubmit of #13965 (which
was reverted in #14183) with an update
to the CMakeLists.txt file to add Demangle. Adding Demangle is necessary
to fix shared-library errors:

> /usr/bin/ld: /__w/llvm/llvm/build/./lib/libLLVMDemangle.so.19.0git:
error adding symbols: DSO missing from command line

---------

Signed-off-by: Lu, John <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants