svn commit: r552511 - head/lang/intel-compute-runtime/files
Jan Beich
jbeich at FreeBSD.org
Fri Oct 16 14:04:24 UTC 2020
Author: jbeich
Date: Fri Oct 16 14:04:24 2020
New Revision: 552511
URL: https://svnweb.freebsd.org/changeset/ports/552511
Log:
lang/intel-compute-runtime: use RTLD_DEEPBIND on FreeBSD >= 12.2
https://svnweb.freebsd.org/changeset/base/361380
https://github.com/intel/compute-runtime/issues/122
Modified:
head/lang/intel-compute-runtime/files/patch-rtld (contents, props changed)
Modified: head/lang/intel-compute-runtime/files/patch-rtld
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-rtld Fri Oct 16 13:51:16 2020 (r552510)
+++ head/lang/intel-compute-runtime/files/patch-rtld Fri Oct 16 14:04:24 2020 (r552511)
@@ -12,7 +12,7 @@ core/os_interface/linux/os_library_linux.cpp:35:49: er
this->handle = dlopen(0, RTLD_LAZY);
} else {
-#ifdef SANITIZER_BUILD
-+#if defined(SANITIZER_BUILD) || !defined(__linux__)
++#if defined(SANITIZER_BUILD) || !defined(RTLD_DEEPBIND)
constexpr auto dlopenFlag = RTLD_LAZY;
#else
constexpr auto dlopenFlag = RTLD_LAZY | RTLD_DEEPBIND;
More information about the svn-ports-head
mailing list