Ticket #9867 (closed defect: duplicate)

Opened 3 years ago

Last modified 8 months ago

getting rid of endianness-dependent behaviour in GAP random sources

Reported by: dimpase Owned by: joyner
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: group theory Keywords:
Cc: simonking Work issues:
Report Upstream: Fixed upstream, in a later stable release. Reviewers: Dmitrii Pasechnik, Karl-Dieter Crisman
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by dimpase) (diff)

in the thread [How to deal with GAP's machine dependent random generator?] on sage-devel Simon King mentioned that GAP own random source dependes on endianness of the machine. While Sage sort of takes care of this in misc/randstate.pyx, it still does not fix GAP internals. So, to make it good and proper, we essentially add the fix in misc/randstate.pyx to GAPROOT/src/integer.c, and remove it from misc/randstate.pyx The updated gap spkg is here:

 http://boxen.math.washington.edu/home/dima/packages/gap-4.4.12.p5.spkg

So one needs to install this spkg and apply the patch attached to the ticket. I don't seem to have access to a 64-bit big-endian system, so it would be great to test it there, just in case...

Attachments

trac_9876_gap_MT_endianness.patch Download (1.6 KB) - added by dimpase 3 years ago.

Change History

Changed 3 years ago by dimpase

comment:1 Changed 3 years ago by dimpase

  • Description modified (diff)

comment:2 Changed 3 years ago by dimpase

  • Cc simonking added
  • Report Upstream changed from Completely fixed; Fix reported upstream to Fixed upstream, but not in a stable release.

comment:3 Changed 8 months ago by dimpase

  • Status changed from new to needs_review

comment:4 Changed 8 months ago by dimpase

This will be fixed in #13211. Let us close this one as obsolete.

comment:5 Changed 8 months ago by kcrisman

  • Status changed from needs_review to positive_review
  • Reviewers set to Dmitrii Pasechnik, Karl-Dieter Crisman
  • Milestone changed from sage-5.4 to sage-duplicate/invalid/wontfix

I can confirm that the current code is no longer needed as of #13211; see here.

comment:6 Changed 8 months ago by jdemeyer

  • Status changed from positive_review to closed
  • Resolution set to duplicate
  • Report Upstream changed from Fixed upstream, but not in a stable release. to Fixed upstream, in a later stable release.
Note: See TracTickets for help on using tickets.