summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files/patch-backtrace
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-03-06 23:23:00 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-03-06 23:23:00 +0000
commit69ff0af8179ddb36c2cc86ab2b42fe17dabc0bf7 (patch)
tree0a017f82ea231557ce556c66ecd7cee5611c43e5 /lang/intel-compute-runtime/files/patch-backtrace
parentdevel/intel-graphics-compiler: update to 1.0.3445 (diff)
lang/intel-compute-runtime: update to 20.09.15980
Changes: https://github.com/intel/compute-runtime/compare/20.08.15750...20.09.15980 Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=527902
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-backtrace')
-rw-r--r--lang/intel-compute-runtime/files/patch-backtrace15
1 files changed, 8 insertions, 7 deletions
diff --git a/lang/intel-compute-runtime/files/patch-backtrace b/lang/intel-compute-runtime/files/patch-backtrace
index 69ce6f62f614..0820f615f4d8 100644
--- a/lang/intel-compute-runtime/files/patch-backtrace
+++ b/lang/intel-compute-runtime/files/patch-backtrace
@@ -12,8 +12,8 @@ ld: error: undefined symbol: backtrace_symbols
>>> referenced by safety_caller_linux.cpp
>>> CMakeFiles/ocloc.dir/utilities/linux/safety_caller_linux.cpp.o:(SafetyGuardLinux::sigAction(int, __siginfo*, void*))
---- offline_compiler/utilities/linux/safety_guard_linux.h.orig 2019-11-22 15:41:47 UTC
-+++ offline_compiler/utilities/linux/safety_guard_linux.h
+--- shared/offline_compiler/source/utilities/linux/safety_guard_linux.h.orig 2020-02-28 16:16:42 UTC
++++ shared/offline_compiler/source/utilities/linux/safety_guard_linux.h
@@ -33,7 +33,7 @@ class SafetyGuardLinux {
char **callstack;
int backtraceSize = 0;
@@ -23,15 +23,16 @@ ld: error: undefined symbol: backtrace_symbols
callstack = backtrace_symbols(addresses, backtraceSize);
for (int i = 0; i < backtraceSize; ++i) {
---- offline_compiler/CMakeLists.txt.orig 2019-11-29 14:23:34 UTC
-+++ offline_compiler/CMakeLists.txt
-@@ -124,6 +124,9 @@ endif()
-
+--- shared/offline_compiler/source/CMakeLists.txt.orig 2020-02-28 16:16:42 UTC
++++ shared/offline_compiler/source/CMakeLists.txt
+@@ -161,6 +161,10 @@ endif()
if(UNIX)
+ target_link_libraries(ocloc_lib dl pthread)
target_link_libraries(ocloc dl pthread)
+ if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD")
++ target_link_libraries(ocloc_lib execinfo)
+ target_link_libraries(ocloc execinfo)
+ endif()
endif()
- target_link_libraries(ocloc elflib)
+ set(CLOC_LIB_SRCS_LIB ${CLOC_LIB_SRCS_LIB} PARENT_SCOPE)