From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1298290-garchives=archives.gentoo.org@lists.gentoo.org> 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 3057413933E for <garchives@archives.gentoo.org>; Fri, 2 Jul 2021 01:03:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68DDEE087C; Fri, 2 Jul 2021 01:03:31 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5377DE087C for <gentoo-commits@lists.gentoo.org>; Fri, 2 Jul 2021 01:03:30 +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 7A7DD335D35 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Jul 2021 01:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E2B67C0 for <gentoo-commits@lists.gentoo.org>; Fri, 2 Jul 2021 01:03:28 +0000 (UTC) From: "Michael Orlitzky" <mjo@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" <mjo@gentoo.org> Message-ID: <1625186533.0f67609cac00b0e0009925a651d2486f0ed61d34.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/singular/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/singular/singular-4.2.0_p3-r1.ebuild X-VCS-Directories: sci-mathematics/singular/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 0f67609cac00b0e0009925a651d2486f0ed61d34 X-VCS-Branch: master Date: Fri, 2 Jul 2021 01:03:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb440ffe-dc4f-4cf8-9503-0db98dad07ff X-Archives-Hash: c9760e5c7b47200ffc7f2e1a2dd7aecc commit: 0f67609cac00b0e0009925a651d2486f0ed61d34 Author: François Bissey <frp.bissey <AT> gmail <DOT> com> AuthorDate: Fri Jul 2 00:17:49 2021 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Fri Jul 2 00:42:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f67609c sci-mathematics/singular: better flag control to avoid segfault Closes: https://bugs.gentoo.org/797655 Closes: https://github.com/gentoo/gentoo/pull/21381 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: François René Pierre Bissey <frp.bissey <AT> gmail.com> Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> sci-mathematics/singular/singular-4.2.0_p3-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/singular/singular-4.2.0_p3-r1.ebuild b/sci-mathematics/singular/singular-4.2.0_p3-r1.ebuild index dd0a6b83be0..7e20b068308 100644 --- a/sci-mathematics/singular/singular-4.2.0_p3-r1.ebuild +++ b/sci-mathematics/singular/singular-4.2.0_p3-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools elisp-common +inherit autotools elisp-common flag-o-matic MY_PN=Singular MY_PV=$(ver_rs 3 '') @@ -47,6 +47,9 @@ src_prepare() { } src_configure() { + # singular may segfault with common optimisation such as -O2 without this flag + append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) + econf --with-gmp \ --with-ntl \ --with-flint \ @@ -57,6 +60,7 @@ src_configure() { --enable-libfac \ --disable-polymake \ --with-libparse \ + --disable-optimizationflags \ $(use_enable static-libs static) \ $(use_enable emacs) \ $(use_with readline)