From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PTZyM-0000XF-PD for garchives@archives.gentoo.org; Fri, 17 Dec 2010 13:03:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B26AE0549; Fri, 17 Dec 2010 13:03:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 389CEE0549 for ; Fri, 17 Dec 2010 13:03:08 +0000 (UTC) Received: from localhost (vpn-137-048.rz.uni-augsburg.de [137.250.137.48]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tomka) by smtp.gentoo.org (Postfix) with ESMTPSA id 2F15D1B4164 for ; Fri, 17 Dec 2010 13:03:06 +0000 (UTC) Date: Fri, 17 Dec 2010 14:00:16 +0100 From: Thomas Kahle To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] sci-libs/mpir for the main tree Message-ID: <20101217130016.GE15522@denkmatte.Speedport_W_502V_Typ_A> References: <20101108234212.GN1906@denkmatte.mittag-leffler.se> <201011092119.54408.f.r.bissey@massey.ac.nz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C1iGAkRnbeBonpVg" Content-Disposition: inline In-Reply-To: <201011092119.54408.f.r.bissey@massey.ac.nz> X-Arbitrary-Number-Of-The-Day: 42 User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: df12cccb-cf24-4cc0-85e6-b6ab8668d4e6 X-Archives-Hash: cfcab7d2f6bb9fac6c539e71c80d01db --C1iGAkRnbeBonpVg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On 21:19 Tue 09 Nov , Fran=E7ois Bissey wrote: > > my next migration victim will be mpir, the friendly clone of gmp. The > > current ebuild is the same in sage-on-gentoo and science. It has this > > assembler stuff in it that I don't understand. Who did this? What is > > the latest here, can we remove the fat TODO-banner (or DO it?). > >=20 > > Any other hints/objections? (Yes, I know that there is a bump > > waiting...) > >=20 > Hi Thomas, >=20 > Christopher did it. mpir like gmp suffer from executable stacks. > There are talk on sage-devel which is very close to mpir upstream > to take a different approach: using an m4 macro and a linker flag > to remove them -Wl,-z,noexecstack.=20 > The motivation to fix this is fedora 14 which doesn't allow executable st= acks=20 > by default. The changelog of mpir-2.2 shows: -) Enable noexecstack for x86/x86_64 with GCC So what should be done to use this in our ebuild. I tried to simply append -Wl,-z,noexecstack to ldflags, but this did nothing. Cheers, Thomas --=20 Thomas Kahle http://dev.gentoo.org/~tomka/ --C1iGAkRnbeBonpVg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iJwEAQEIAAYFAk0LXuAACgkQQYXt1pFHaaGKuQP9F8c8c4NiUWxAM3/L7cKVd1Ip 48xqMv2YkFH7h7YVkhgTH20QxJ85k4/nu7eyh2PJ0Z07z12RZoKvjM/3AzoV9JXX owqDSOo4rVbDHUBhQn07JBCp/Rho2cKttXNkxUm3Ytc47ko4UzC91443UVVo4OZk FCje1uyTKXC/huuf8p4= =wDz0 -----END PGP SIGNATURE----- --C1iGAkRnbeBonpVg--