Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-science
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-science@g.o
From: Thomas Kahle <tomka@g.o>
Subject: Re: sci-libs/mpir for the main tree
Date: Fri, 17 Dec 2010 14:00:16 +0100
Hi,

On 21:19 Tue 09 Nov     , Fran├žois 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?).
> > 
> > Any other hints/objections?  (Yes, I know that there is a bump
> > waiting...)
> > 
> Hi Thomas,
> 
> 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. 
> The motivation to fix this is fedora 14 which doesn't allow executable stacks 
> 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



-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/
Attachment:
pgpXVAg5svD3D.pgp (PGP signature)
Replies:
Re: sci-libs/mpir for the main tree
-- Christopher Schwan
References:
sci-libs/mpir for the main tree
-- Thomas Kahle
Re: sci-libs/mpir for the main tree
-- Fran├žois Bissey
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: sci-libs/mpir for the main tree
Next by thread:
Re: sci-libs/mpir for the main tree
Previous by date:
Summary of 15-12-2010
Next by date:
Re: sci-libs/mpir for the main tree


Updated Jul 05, 2012

Summary: Archive of the gentoo-science mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.