Skip to content

Build DPC++ toolchain with libc++ library undefined symbol `_ZN2cl4sycl3ext6oneapi10level_zero12make_contextERKSt6vectorINS0_6deviceESaIS5_EEmb' referenced in expression #4926

Answered by haonanya
haonanya asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @alexbatashev offer workaround.

set(abi_linker_script "${CMAKE_CURRENT_SOURCE_DIR}/abi_replacements_linux.txt")
target_link_libraries(
${LIB_NAME} PRIVATE "-Wl,${abi_linker_script}")
set_target_properties(${LIB_NAME} PROPERTIES LINK_DEPENDS ${abi_linker_script})

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@haonanya
Comment options

haonanya Mar 29, 2022
Collaborator Author

@linuxcpp6
Comment options

@alexbatashev
Comment options

@linuxcpp6
Comment options

@linuxcpp6
Comment options

Comment options

haonanya
Nov 10, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by haonanya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants