#10188: mpir spkg needs update for Fedora 14
------------------------------+---------------------------------------------
   Reporter:  vbraun          |       Owner:  tbd                       
       Type:  defect          |      Status:  positive_review           
   Priority:  major           |   Milestone:  sage-4.6.1                
  Component:  packages        |    Keywords:  execstack executable stack
     Author:  Volker Braun    |    Upstream:  N/A                       
   Reviewer:  Leif Leonhardy  |      Merged:                            
Work_issues:                  |  
------------------------------+---------------------------------------------
Changes (by leif):

 * cc: jdemeyer (added)
  * keywords:  => execstack executable stack
  * status:  needs_review => positive_review
  * reviewer:  => Leif Leonhardy


Old description:

> MPIR builds libraries that have the "executable stack" flag. This breaks
> in Fedora 14 which tightened SELinux rules to disallow executable stack
> libraries by default.
>
> Note that the MPIR libraries do not need executable stack permissions,
> the flag is set erroneously. Probably because gcc can't figure it out
> automatically for assembler code.
>
> Updated spkg is here:
>
> http://www.stp.dias.ie/~vbraun/Sage/spkg/mpir-1.2.2.p2.spkg
>
> The only change is that the spkg-install now tests whether the
> `execstack` utility is installed and then uses it to clear the flag after
> the make step.

New description:

 MPIR builds libraries that have the "executable stack" flag. This breaks
 in Fedora 14 which tightened SELinux rules to disallow executable stack
 libraries by default.

 Note that the MPIR libraries do not need executable stack permissions, the
 flag is set erroneously. Probably because gcc can't figure it out
 automatically for assembler code.

 Updated spkg is here:

 http://www.stp.dias.ie/~vbraun/Sage/spkg/mpir-1.2.2.p2.spkg

 The only change was that the spkg-install tested whether the `execstack`
 utility is installed and then used it to clear the flag after the make
 step.

 The new spkg now simply adds `-Wl,-z,noexecstack` to `LDFLAGS` on Linux.

--

Comment:

 Although both the commit message and the changelog entry lack a back-
 reference to this ticket, positive review.

 I think we can safely (and should) merge this into 4.6.1, since
 unfortunately the MPIR upgrade (#8664) is again delayed by trouble with
 the necessary GMP-ECM upgrade (#5847) for a couple of reasons (mainly
 weird MacOS X PPC issues).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10188#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to