Ticket #3527 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

[with spkg, positive review] Disable "-fwrapv" on Itanium when building python

Reported by: mabshoff Owned by: mabshoff
Priority: blocker Milestone: sage-3.0.4
Component: build Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by mabshoff) (diff)

The spkg at

 http://sage.math.washington.edu/home/mabshoff/python-2.5.2.p3.spkg

disables "-fwrapv" on Itanium and OSX. This fixes a number of doctest failures on at least Itanium. "-fwrapv" enables some seemingly sketchy floating point optimizations that are not part of "-O3", so good riddance for them.

Cheers,

Michael

Change History

comment:1 Changed 5 years ago by mabshoff

  • Status changed from new to assigned

comment:2 Changed 5 years ago by mabshoff

  • Summary changed from Build python with "-O2" instead of "-O3" on Itanium to [likely hiding bugs and invalid] Build python with "-O2" instead of "-O3" on Itanium
  • Milestone changed from sage-3.0.6 to sage-3.0.5

This is starting to look invalid since all failures I see seem to be triggered by bugs not normally observed on non-Itanium, but valgrind finds faults in those cases on x86-64.

Cheers,

Michael

comment:3 Changed 5 years ago by mabshoff

  • Description modified (diff)
  • Summary changed from [likely hiding bugs and invalid] Build python with "-O2" instead of "-O3" on Itanium to [with spkg, needs review] Disable "-fwrapv" on Itanium when building python

comment:4 Changed 5 years ago by was

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Summary changed from [with spkg, needs review] Disable "-fwrapv" on Itanium when building python to [with spkg, positive review] Disable "-fwrapv" on Itanium when building python

positive review.

comment:5 Changed 5 years ago by mabshoff

  • Milestone changed from sage-3.0.5 to sage-3.0.4

Merged in Sage 3.0.4.rc2

Note: See TracTickets for help on using tickets.