#11705: Port Sage to SUSE Linux Power 7 (ppc64).
---------------------------------------------------+------------------------
Reporter: was | Owner: drkirkby
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: porting | Resolution:
Keywords: sd32 sd35.5 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Paul Zimmermann, Jeroen Demeyer | Merged in:
Dependencies: #12829, #12832 | Stopgaps:
---------------------------------------------------+------------------------
Comment (by leif):
Replying to [comment:105 leif]:
> While the original files seem partially over-autoconf'd to me (e.g.
`TEXT`, defined in `config.m4` after `configure`), I've currently
"hardcoded" the ELF function descriptors, i.e., haven't used new macros
for them at all. Even if GMP-ECM currently only supports systems ''using
ELF'' on PPC64 (I think; Darwin PPC is 32-bit, and `asm-redc` is disabled
on it, although it IMHO wouldn't have to be), one could at least write
some `m4` macros for [PowerPC] ELF![64] for convenience and put them into
(e.g.) `powerpc64/elf.m4`, then probably only "enable" them if `configure`
determines it's an ELF system. (I didn't want to mess with the `autoconf`
files anyway.)
Patching `configure`[`.in`]` to also include `powerpc64/elf.m4` if
appropriate is trivial, so I'll probably add that, too. (And write
[slightly corrected] `PROLOG()` / `EPILOG()` macros.)
> One could also add some debugging info to the functions, i.e. traceback
tables.
[Planned.]
[[BR]]
> Perhaps François could test the attached patch with vanilla GMP-ECM on
AIX.
Reading `configure.in` (of GMP-ECM 6.4.2), I see that `asm-redc` for PPC64
is currently only supported ''on Linux'' anyway, so testing it on AIX
doesn't make sense. (On AIX, it isn't enabled by default, and explicitly
enabling it will just raise a `configure` error, so that's fine [for
now].)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11705#comment:107>
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.