From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8DA4138206 for ; Thu, 18 Jan 2018 21:25:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF4B8E0997; Thu, 18 Jan 2018 21:25:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9251EE0997 for ; Thu, 18 Jan 2018 21:25:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C74E335C46 for ; Thu, 18 Jan 2018 21:25:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 87D021CC for ; Thu, 18 Jan 2018 21:25:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1516310717.a4d33e643f3aa8cb5cf8b0555328e846e4f6f9de.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libomp/libomp-4.0.1.ebuild sys-libs/libomp/libomp-5.0.1.ebuild sys-libs/libomp/libomp-6.0.9999.ebuild sys-libs/libomp/libomp-9999.ebuild X-VCS-Directories: sys-libs/libomp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a4d33e643f3aa8cb5cf8b0555328e846e4f6f9de X-VCS-Branch: master Date: Thu, 18 Jan 2018 21:25:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e182d114-4d21-453e-bc98-b0800d81aefb X-Archives-Hash: bdd2ab0a8270b49baf288f05bc9d6a8f commit: a4d33e643f3aa8cb5cf8b0555328e846e4f6f9de Author: Michał Górny gentoo org> AuthorDate: Thu Jan 18 21:23:13 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 18 21:25:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d33e64 sys-libs/libomp: List broken PDS scheduler versions The sched_yield() call has been reintroduced in PDS 0.98i. Improve the kernel check to explicitly list which PDS versions are affected, and which -pf kernels are affected (sadly, no fixed version yet). Big thanks to Holger Hoffstätte for convincing upstream to fix this and all the research! Bug: https://bugs.gentoo.org/638410 sys-libs/libomp/libomp-4.0.1.ebuild | 5 ++++- sys-libs/libomp/libomp-5.0.1.ebuild | 5 ++++- sys-libs/libomp/libomp-6.0.9999.ebuild | 5 ++++- sys-libs/libomp/libomp-9999.ebuild | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/sys-libs/libomp/libomp-4.0.1.ebuild b/sys-libs/libomp/libomp-4.0.1.ebuild index 299e49921e1..920d364c8a8 100644 --- a/sys-libs/libomp/libomp-4.0.1.ebuild +++ b/sys-libs/libomp/libomp-4.0.1.ebuild @@ -43,7 +43,10 @@ S=${WORKDIR}/openmp-${PV/_/}.src CMAKE_BUILD_TYPE=RelWithDebInfo CONFIG_CHECK="~!SCHED_PDS" -ERROR_SCHED_PDS="PDS scheduler is not supported as it does not implement sched_yield()" +ERROR_SCHED_PDS="PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels +>= 4.13-pf11, no fixed release yet) do not implement sched_yield() call which +may result in horrible performance problems with libomp. If you are using one +of the specified kernel versions, you may want to disable the PDS scheduler." python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" diff --git a/sys-libs/libomp/libomp-5.0.1.ebuild b/sys-libs/libomp/libomp-5.0.1.ebuild index e53670dab6d..9075688c9e4 100644 --- a/sys-libs/libomp/libomp-5.0.1.ebuild +++ b/sys-libs/libomp/libomp-5.0.1.ebuild @@ -43,7 +43,10 @@ S=${WORKDIR}/openmp-${PV/_/}.src CMAKE_BUILD_TYPE=RelWithDebInfo CONFIG_CHECK="~!SCHED_PDS" -ERROR_SCHED_PDS="PDS scheduler is not supported as it does not implement sched_yield()" +ERROR_SCHED_PDS="PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels +>= 4.13-pf11, no fixed release yet) do not implement sched_yield() call which +may result in horrible performance problems with libomp. If you are using one +of the specified kernel versions, you may want to disable the PDS scheduler." python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" diff --git a/sys-libs/libomp/libomp-6.0.9999.ebuild b/sys-libs/libomp/libomp-6.0.9999.ebuild index 461064323a1..5e156aca296 100644 --- a/sys-libs/libomp/libomp-6.0.9999.ebuild +++ b/sys-libs/libomp/libomp-6.0.9999.ebuild @@ -44,7 +44,10 @@ DEPEND="${RDEPEND} CMAKE_BUILD_TYPE=RelWithDebInfo CONFIG_CHECK="~!SCHED_PDS" -ERROR_SCHED_PDS="PDS scheduler is not supported as it does not implement sched_yield()" +ERROR_SCHED_PDS="PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels +>= 4.13-pf11, no fixed release yet) do not implement sched_yield() call which +may result in horrible performance problems with libomp. If you are using one +of the specified kernel versions, you may want to disable the PDS scheduler." python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" diff --git a/sys-libs/libomp/libomp-9999.ebuild b/sys-libs/libomp/libomp-9999.ebuild index 630a7bf4f05..ad6d62ae744 100644 --- a/sys-libs/libomp/libomp-9999.ebuild +++ b/sys-libs/libomp/libomp-9999.ebuild @@ -43,7 +43,10 @@ DEPEND="${RDEPEND} CMAKE_BUILD_TYPE=RelWithDebInfo CONFIG_CHECK="~!SCHED_PDS" -ERROR_SCHED_PDS="PDS scheduler is not supported as it does not implement sched_yield()" +ERROR_SCHED_PDS="PDS scheduler versions >= 0.98c < 0.98i (e.g. used in kernels +>= 4.13-pf11, no fixed release yet) do not implement sched_yield() call which +may result in horrible performance problems with libomp. If you are using one +of the specified kernel versions, you may want to disable the PDS scheduler." python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]"