Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 14:04:24 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552511 - head/lang/intel-compute-runtime/files
Message-ID:  <202010161404.09GE4OVK072883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010161404.09GE4OVK072883>