Opened 11 years ago

Last modified 10 years ago

#11616 closed enhancement

Upgrade MPIR to a more recent upstream release — at Version 2

Reported by: leif Owned by: leif
Priority: blocker Milestone: sage-5.0
Component: packages: standard Keywords: sd32, GMP, SandyBridge, Westmere, yasm re2c race condition, Linux ia64 Itanium GCC 4.7.0 bug
Cc: justin, wbhart, jpflori Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #8664 #5847 Stopgaps:

Status badges

Description (last modified by leif)

This is a follow-up to #8664.

The following spkgs are based on the (not yet merged) MPIR 2.1.3.p4 spkg from #8664:

You may want to give them a try now though. (The former is just intended as a "fallback" spkg in case problems introduced in the latter should arise.)

The list of changes between MPIR 2.1.3 (more precisely, 2.1.1) and MPIR 2.4.0 is fairly long, so I haven't put them into the description, but attached them in a plain text file.

For instructions on how to install / test the spkgs please see #8664, as these two also require the new GMP-ECM 6.3.p2 spkg from #5847 and two patches to the Sage library (one from each ticket); a Sage 4.7.1.rc0 (Sage library) spkg with these two patches already applied is also available there.

Note that #5847 technically again needs review because I had to rebase the trivial one-line patch attached there.

mpir-2.4.0.p0 (Leif Leonhardy, July 21st, 2011)

  • Upstream upgrade to MPIR 2.4.0 (#11616).

mpir-2.3.1.p0 (Leif Leonhardy, July 20th, 2011)

  • Upstream upgrade to MPIR 2.3.1 (#11616).
  • Clean up .hgtags.

mpir-2.1.3.p4 (Leif Leonhardy, July 19th, 2011)

  • #8664: Upgrade Sage's MPIR spkg to version 2.1.3

Change History (3)

comment:1 Changed 11 years ago by leif

  • Description modified (diff)

Changed 11 years ago by leif

Note that some changes between 2.1.1 and 2.1.4 may be missing (documented elsewhere, i.e. at least on mpir-devel I think). The segfault was fixed in 2.1.3, the race condition in 2.1.4.

comment:2 Changed 11 years ago by leif

  • Description modified (diff)
  • Status changed from new to needs_review

Setting this to "needs review" since the MPIR 2.1.3.p4 from #8664 got positive review again, though so far only by a single reviewer.

The current packages are mainly meant for testing the new upstream releases, hopefully on a variety of platforms supported by Sage; some improvements or changes to Sage's part will most probably follow.

It would just be nice to relatively early know whether any of them (more important, MPIR 2.4.0) causes any problems on one of our platforms. (MPIR 2.5.0 is scheduled for September 1st, which isn't that far...)

Note: See TracTickets for help on using tickets.