1 |
Hi, |
2 |
|
3 |
On 21:19 Tue 09 Nov , François Bissey wrote: |
4 |
> > my next migration victim will be mpir, the friendly clone of gmp. The |
5 |
> > current ebuild is the same in sage-on-gentoo and science. It has this |
6 |
> > assembler stuff in it that I don't understand. Who did this? What is |
7 |
> > the latest here, can we remove the fat TODO-banner (or DO it?). |
8 |
> > |
9 |
> > Any other hints/objections? (Yes, I know that there is a bump |
10 |
> > waiting...) |
11 |
> > |
12 |
> Hi Thomas, |
13 |
> |
14 |
> Christopher did it. mpir like gmp suffer from executable stacks. |
15 |
> There are talk on sage-devel which is very close to mpir upstream |
16 |
> to take a different approach: using an m4 macro and a linker flag |
17 |
> to remove them -Wl,-z,noexecstack. |
18 |
> The motivation to fix this is fedora 14 which doesn't allow executable stacks |
19 |
> by default. |
20 |
|
21 |
The changelog of mpir-2.2 shows: |
22 |
|
23 |
-) Enable noexecstack for x86/x86_64 with GCC |
24 |
|
25 |
So what should be done to use this in our ebuild. I tried to simply |
26 |
append -Wl,-z,noexecstack to ldflags, but this did nothing. |
27 |
|
28 |
Cheers, |
29 |
Thomas |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
Thomas Kahle |
35 |
http://dev.gentoo.org/~tomka/ |