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 D707D139694 for ; Tue, 25 Apr 2017 21:49:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAEEC21C039; Tue, 25 Apr 2017 21:49:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 96D4021C038 for ; Tue, 25 Apr 2017 21:49:36 +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 6639734164B for ; Tue, 25 Apr 2017 21:49:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 622DD7443 for ; Tue, 25 Apr 2017 21:49:33 +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: <1493156952.63581c519419c7ef888b7e51f557af0afa99a922.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypy/files/, dev-python/pypy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypy/files/5.7.1-kill-flto.patch dev-python/pypy/pypy-9999.ebuild X-VCS-Directories: dev-python/pypy/files/ dev-python/pypy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 63581c519419c7ef888b7e51f557af0afa99a922 X-VCS-Branch: master Date: Tue, 25 Apr 2017 21:49:33 +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: 72543f41-837c-435e-a110-ccce71de1aa0 X-Archives-Hash: d13d512e2541170a7427e597e8ec0462 commit: 63581c519419c7ef888b7e51f557af0afa99a922 Author: Michał Górny gentoo org> AuthorDate: Tue Apr 25 15:05:24 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Apr 25 21:49:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63581c51 dev-python/pypy: Disarm implicit -flto (in 9999) dev-python/pypy/files/5.7.1-kill-flto.patch | 27 +++++++++++++++++++++++++++ dev-python/pypy/pypy-9999.ebuild | 2 ++ 2 files changed, 29 insertions(+) diff --git a/dev-python/pypy/files/5.7.1-kill-flto.patch b/dev-python/pypy/files/5.7.1-kill-flto.patch new file mode 100644 index 00000000000..92395bdb6ca --- /dev/null +++ b/dev-python/pypy/files/5.7.1-kill-flto.patch @@ -0,0 +1,27 @@ +From 261f9280d9736965a8626c2d6a6fadd4254b2b89 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Tue, 25 Apr 2017 17:03:46 +0200 +Subject: [PATCH] Kill -flto + +--- + rpython/translator/platform/posix.py | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/rpython/translator/platform/posix.py b/rpython/translator/platform/posix.py +index a8d4768..20a2934 100644 +--- a/rpython/translator/platform/posix.py ++++ b/rpython/translator/platform/posix.py +@@ -130,10 +130,6 @@ class BasePosix(Platform): + else: + cflags = tuple(self.cflags) + tuple(self.standalone_only) + +- # xxx check which compilers accept this option or not +- if not config or config.translation.gcrootfinder != 'asmgcc': +- cflags = ('-flto',) + cflags +- + m = GnuMakefile(path) + m.exe_name = path.join(exe_name.basename) + m.eci = eci +-- +2.12.2 + diff --git a/dev-python/pypy/pypy-9999.ebuild b/dev-python/pypy/pypy-9999.ebuild index c4d67f9bbc1..4e672b8cf6b 100644 --- a/dev-python/pypy/pypy-9999.ebuild +++ b/dev-python/pypy/pypy-9999.ebuild @@ -96,6 +96,8 @@ src_prepare() { eapply "${FILESDIR}/4.0.0-gentoo-path.patch" eapply "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" eapply "${FILESDIR}"/2.5.0-shared-lib.patch # 517002 + # disarm implicit -flto + eapply "${FILESDIR}"/5.7.1-kill-flto.patch sed -e "s^@EPREFIX@^${EPREFIX}^" \ -e "s^@libdir@^$(get_libdir)^" \