We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c23cf16 + 8368b99 commit bc6aa73Copy full SHA for bc6aa73
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