We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e182682 commit 6051a3bCopy full SHA for 6051a3b
source/loader/CMakeLists.txt
@@ -208,7 +208,8 @@ if(UR_ENABLE_SANITIZER)
208
if(NOT EXISTS ${LIBCXX_PATH} OR NOT EXISTS ${LIBCXX_ABI_PATH})
209
message(FATAL_ERROR "libc++ is required but can't find the libraries")
210
endif()
211
- target_link_libraries(ur_loader PRIVATE ${LIBCXX_PATH} ${LIBCXX_ABI_PATH})
+ # Link with gcc_s fisrt to avoid some symbols resolve to libc++/libc++abi/libunwind's one
212
+ target_link_libraries(ur_loader PRIVATE gcc_s ${LIBCXX_PATH} ${LIBCXX_ABI_PATH})
213
214
215
0 commit comments