public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3/files/, dev-python/pypy3/
Date: Tue, 18 Aug 2015 16:34:42 +0000 (UTC)	[thread overview]
Message-ID: <1439915677.bd9b4c3f9787eb28082595d88427b23c61dd25fd.jlec@gentoo> (raw)

commit:     bd9b4c3f9787eb28082595d88427b23c61dd25fd
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 18 16:34:18 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Aug 18 16:34:37 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9b4c3f

dev-python/pypy3: Backport for fix gcc-4.9

https://bitbucket.org/pypy/pypy/commits/c1abec418acf30bb04891c3249bc12cbe8f48d4a

Bug-Debian: https://bugs.debian.org/771137
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=536920

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/pypy3/files/pypy3-2.4.0-gcc-4.9.patch | 26 ++++++++++++++++++++++++
 dev-python/pypy3/pypy3-2.4.0.ebuild              |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/dev-python/pypy3/files/pypy3-2.4.0-gcc-4.9.patch b/dev-python/pypy3/files/pypy3-2.4.0-gcc-4.9.patch
new file mode 100644
index 0000000..dd3a688
--- /dev/null
+++ b/dev-python/pypy3/files/pypy3-2.4.0-gcc-4.9.patch
@@ -0,0 +1,26 @@
+Description: Expect cmovnb and jnb
+ Fixes an FTBFS since gcc 4.9.2, which is emmiting new operations
+Author: Stefano Rivera <stefanor@debian.org>
+Forwarded: https://bitbucket.org/pypy/pypy/commits/c1abec418acf30bb04891c3249bc12cbe8f48d4a
+Bug-Debian: https://bugs.debian.org/771137
+Last-Update: 2014-11-26
+
+--- a/rpython/translator/c/gcc/trackgcroot.py
++++ b/rpython/translator/c/gcc/trackgcroot.py
+@@ -590,7 +590,7 @@
+ 
+     # The various cmov* operations
+     for name in '''
+-        e ne g ge l le a ae b be p np s ns o no
++        e ne g ge l le a ae b be nb p np s ns o no
+         '''.split():
+         locals()['visit_cmov' + name] = binary_insn
+         locals()['visit_cmov' + name + 'l'] = binary_insn
+@@ -837,6 +837,7 @@
+     visit_jb = conditional_jump
+     visit_jbe = conditional_jump
+     visit_jp = conditional_jump
++    visit_jnb = conditional_jump
+     visit_jnp = conditional_jump
+     visit_js = conditional_jump
+     visit_jns = conditional_jump

diff --git a/dev-python/pypy3/pypy3-2.4.0.ebuild b/dev-python/pypy3/pypy3-2.4.0.ebuild
index eda2f1d..9903c1b 100644
--- a/dev-python/pypy3/pypy3-2.4.0.ebuild
+++ b/dev-python/pypy3/pypy3-2.4.0.ebuild
@@ -70,7 +70,9 @@ pkg_setup() {
 }
 
 src_prepare() {
-	epatch "${FILESDIR}/1.9-scripts-location.patch" \
+	epatch \
+		"${FILESDIR}"/${P}-gcc-4.9.patch \
+		"${FILESDIR}/1.9-scripts-location.patch" \
 		"${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" \
 		"${FILESDIR}"/2.3.1-shared-lib.patch	# 517002
 


             reply	other threads:[~2015-08-18 16:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-18 16:34 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-12-20 21:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy3/files/, dev-python/pypy3/ Michał Górny
2016-02-06 22:45 Michał Górny
2016-03-03 10:47 Michał Górny
2016-05-05  9:14 Patrice Clement
2017-04-25 21:49 Michał Górny
2017-04-25 21:49 Michał Górny
2017-10-09 18:58 Michał Górny
2017-10-15  9:38 Michał Górny
2018-01-05 23:19 Michał Górny
2019-02-14 22:07 Michał Górny
2019-02-16 15:08 Michał Górny
2019-05-24 14:21 Michał Górny
2020-09-11 21:05 Michał Górny
2020-09-17 16:56 Michał Górny
2021-02-09 23:38 Michał Górny
2021-03-05 21:06 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439915677.bd9b4c3f9787eb28082595d88427b23c61dd25fd.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox