From owner-svn-ports-branches@freebsd.org Fri Oct 16 14:05:27 2020 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 91454437596; Fri, 16 Oct 2020 14:05:27 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CCSbW3HXvz3Wj1; Fri, 16 Oct 2020 14:05:27 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 527C911658; Fri, 16 Oct 2020 14:05:27 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09GE5Rlg073049; Fri, 16 Oct 2020 14:05:27 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09GE5RH1073048; Fri, 16 Oct 2020 14:05:27 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202010161405.09GE5RH1073048@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 16 Oct 2020 14:05:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r552512 - branches/2020Q4/lang/intel-compute-runtime/files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: branches/2020Q4/lang/intel-compute-runtime/files X-SVN-Commit-Revision: 552512 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2020 14:05:27 -0000 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;