From e9d044d4b9b71200a96adfa280848858c0f468c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Nov 2021 13:10:00 +0000 Subject: gentoo resync : 13.11.2021 --- sys-cluster/openmpi/Manifest | 1 - ...le-malloc-override-inside-of-Gentoo-sandb.patch | 42 ---------------------- 2 files changed, 43 deletions(-) delete mode 100644 sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch (limited to 'sys-cluster/openmpi') diff --git a/sys-cluster/openmpi/Manifest b/sys-cluster/openmpi/Manifest index ee1aeae5d40c..387306799aea 100644 --- a/sys-cluster/openmpi/Manifest +++ b/sys-cluster/openmpi/Manifest @@ -1,4 +1,3 @@ -AUX hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch 1602 BLAKE2B d15d2321ef32b3b16a2084ae1f0c3b6d6a6d4f6f16aa703c3ff0d217bf8900df261e053d3ea7426e889344597bbda59ceacbda6ba4c0ddd046cac4fc3d972d58 SHA512 7732a53f6074432a10bbe7dcca6b64e45bebadb797c214fca9c93d2ec5fd179832f69374c38d2bba5932089fcae6a7045990a1c7bbb048c3b5ab1397e9596c74 AUX openmpi-ltdl.patch 2449 BLAKE2B 4ea973f09988a45485840cb70dd8f1c72f6b51d38d051f700fe04cd38ea79ca08c81cd8930504b38633fbb31a081cc9e5819c21e1170fa0461870467846a6c52 SHA512 4487ecbd2025d561f5ac46c70da5e407f6f201b7588f350d1211790dceb64ec2acdf3ca8f90e2ecbe8a6f7c3a6577e77fb7ae22be0ff3dd4adbded9035a7b6c9 DIST openmpi-1.10.7.tar.bz2 13435131 BLAKE2B c1914e6842f59a4a21a27d015275eff00092e57784c4219f58424fbc69c6d9e58109aa1b2ff4e1e340ddc3b93f07d7271e728928772c66c271442e375c08315e SHA512 9c5470f9959ca37650a59e56fb8343c028422c709876ab9d25a411dd09a07cdde927c45d8f3db1ad524b1f2847fe799471d469fa1efee48f8018b2ff24427ecb DIST openmpi-1.4.5.tar.bz2 6643760 BLAKE2B 6890e8ed6f75e77e0e02c88bce473a37195549bca06696881cf7c3f6e46db25abaa04d9517d7ff9a11ad64cc97cf8d1b8678d9797c49a1659656d8a5de5c56ae SHA512 f89922345cde8978483e397e9016103626db3f1787f9afccaf0f60d59caa2a4409b47b01ac221d60e24e241f2afecb636ca89688bf326dc0ca5c817de96b3e99 diff --git a/sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch b/sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch deleted file mode 100644 index 197430aee6f2..000000000000 --- a/sys-cluster/openmpi/files/hooks-disable-malloc-override-inside-of-Gentoo-sandb.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 3bd5897c7ca8ab61fb024957aeae891e204b3e3f Mon Sep 17 00:00:00 2001 -From: Justin Bronder -Date: Mon, 1 Jul 2013 20:37:17 -0400 -Subject: [PATCH] hooks: disable malloc override inside of Gentoo sandbox - -As described in the comments in the source, Gentoo's own version of -fakeroot, sandbox, also runs into hangs when malloc is overridden. -Sandbox environments can easily be detected by looking for SANDBOX_PID -in the environment. When detected, employ the same fix used for -fakeroot. - -See https://bugs.gentoo.org/show_bug.cgi?id=462602 ---- - opal/mca/memory/linux/hooks.c | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -diff --git a/opal/mca/memory/linux/hooks.c b/opal/mca/memory/linux/hooks.c -index 6a1646f..5ded08c 100644 ---- a/opal/mca/memory/linux/hooks.c -+++ b/opal/mca/memory/linux/hooks.c -@@ -747,9 +747,16 @@ static void opal_memory_linux_malloc_init_hook(void) - "fakeroot" build environment that allocates memory during - stat() (see http://bugs.debian.org/531522). It may not be - necessary any more since we're using access(), not stat(). But -- we'll leave the check, anyway. */ -+ we'll leave the check, anyway. -+ -+ This is also an issue when using Gentoo's version of 'fakeroot', -+ sandbox v2.5. Sandbox environments can also be detected fairly -+ easily by looking for SANDBOX_ON. -+ */ -+ - if (getenv("FAKEROOTKEY") != NULL || -- getenv("FAKED_MODE") != NULL) { -+ getenv("FAKED_MODE") != NULL || -+ getenv("SANDBOX_ON") != NULL ) { - return; - } - --- -1.8.1.5 - -- cgit v1.2.3