svn commit: r552512 - branches/2020Q4/lang/intel-compute-runtime/files
Jan Beich
jbeich at FreeBSD.org
Fri Oct 16 14:05:27 UTC 2020
Author: jbeich
Date: Fri Oct 16 14:05:26 2020
New Revision: 552512
URL: https://svnweb.freebsd.org/changeset/ports/552512
Log:
MFH: r552511
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
Approved by: ports-secteam blanket (reliability fix)
Modified:
branches/2020Q4/lang/intel-compute-runtime/files/patch-rtld
Directory Properties:
branches/2020Q4/ (props changed)
Modified: branches/2020Q4/lang/intel-compute-runtime/files/patch-rtld
==============================================================================
--- branches/2020Q4/lang/intel-compute-runtime/files/patch-rtld Fri Oct 16 14:04:24 2020 (r552511)
+++ branches/2020Q4/lang/intel-compute-runtime/files/patch-rtld Fri Oct 16 14:05:26 2020 (r552512)
@@ -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-all
mailing list