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 0B7E3138334 for ; Thu, 25 Jul 2019 15:37:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 417D3E0833; Thu, 25 Jul 2019 15:37:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 14D67E0833 for ; Thu, 25 Jul 2019 15:37:27 +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 C2B8A348A95 for ; Thu, 25 Jul 2019 15:37:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEB8A1BA for ; Thu, 25 Jul 2019 15:37:23 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1564069032.052b5e1831a36b339014e9c997122d2ee9548b83.anarchy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/files/, dev-lang/spidermonkey/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/spidermonkey/files/spidermonkey-60.5.2-ia64-support.patch dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r2.ebuild X-VCS-Directories: dev-lang/spidermonkey/ dev-lang/spidermonkey/files/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: 052b5e1831a36b339014e9c997122d2ee9548b83 X-VCS-Branch: master Date: Thu, 25 Jul 2019 15:37:23 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1b926eb3-0ee6-4dfa-91d4-f5f7396375fb X-Archives-Hash: 3ad16e33fcca9bfc85d20a92d1b19ee4 commit: 052b5e1831a36b339014e9c997122d2ee9548b83 Author: Jory Pratt gentoo org> AuthorDate: Thu Jul 25 15:33:11 2019 +0000 Commit: Jory Pratt gentoo org> CommitDate: Thu Jul 25 15:37:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=052b5e18 dev-lang/spidermonkey: add ia64 support to :60 Closes: https://bugs.gentoo.org/690342 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Jory Pratt gentoo.org> .../files/spidermonkey-60.5.2-ia64-support.patch | 44 ++++++++++++++++++++++ .../spidermonkey/spidermonkey-60.5.2_p0-r2.ebuild | 1 + 2 files changed, 45 insertions(+) diff --git a/dev-lang/spidermonkey/files/spidermonkey-60.5.2-ia64-support.patch b/dev-lang/spidermonkey/files/spidermonkey-60.5.2-ia64-support.patch new file mode 100644 index 00000000000..90c8a4c9da3 --- /dev/null +++ b/dev-lang/spidermonkey/files/spidermonkey-60.5.2-ia64-support.patch @@ -0,0 +1,44 @@ +From 35d787c782a075c0a01e29605d254950fd1e81a6 Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Thu, 25 Jul 2019 10:17:39 -0500 +Subject: [PATCH] Add support for ia64 atomic-ops + +Signed-off-by: Jory Pratt +--- + js/src/jit/AtomicOperations.h | 2 ++ + js/src/jit/none/AtomicOperations-feeling-lucky.h | 6 ++++++ + 2 files changed, 8 insertions(+) + +diff --git a/js/src/jit/AtomicOperations.h b/js/src/jit/AtomicOperations.h +index 3501e65b..44c3f358 100644 +--- a/js/src/jit/AtomicOperations.h ++++ b/js/src/jit/AtomicOperations.h +@@ -393,6 +393,8 @@ inline bool AtomicOperations::isLockfreeJS(int32_t size) { + #include "jit/none/AtomicOperations-feeling-lucky.h" + #elif defined(__s390__) || defined(__s390x__) + #include "jit/none/AtomicOperations-feeling-lucky.h" ++#elif defined(__ia64__) ++#include "jit/none/AtomicOperations-feeling-lucky.h" + #else + #error "No AtomicOperations support provided for this platform" + #endif +diff --git a/js/src/jit/none/AtomicOperations-feeling-lucky.h b/js/src/jit/none/AtomicOperations-feeling-lucky.h +index c0b43699..a3f4497e 100644 +--- a/js/src/jit/none/AtomicOperations-feeling-lucky.h ++++ b/js/src/jit/none/AtomicOperations-feeling-lucky.h +@@ -80,6 +80,12 @@ + #define GNUC_COMPATIBLE + #endif + ++#ifdef __ia64__ ++#define HAS_64BIT_ATOMICS ++#define HAS_64BIT_LOCKFREE ++#define GNUC_COMPATIBLE ++#endif ++ + // The default implementation tactic for gcc/clang is to use the newer + // __atomic intrinsics added for use in C++11 . Where that + // isn't available, we use GCC's older __sync functions instead. +-- +2.22.0 + diff --git a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r2.ebuild b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r2.ebuild index 3bc29e90ad3..4baeb96c3fb 100644 --- a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r2.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r2.ebuild @@ -46,6 +46,7 @@ pkg_setup(){ src_prepare() { eapply "${WORKDIR}/${PN}" + eapply "${FILESDIR}/${PN}-60.5.2-ia64-support.patch" eapply_user