Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pari build on PPC 32bit Linux #627

Closed
sagetrac-mabshoff mannequin opened this issue Sep 9, 2007 · 3 comments
Closed

fix pari build on PPC 32bit Linux #627

sagetrac-mabshoff mannequin opened this issue Sep 9, 2007 · 3 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 9, 2007

pari needs a single line patch to build properly on 32 bit PPC Linux so that the linker doesn't throw a fit. Aside from trivial DSage that makes all doctests pass on that platform and elevates it to a fully supported platform.

The obvious next step is to get Sage to also build in 64 bit mode.

A patch will be attached to this ticket in the next 12 hours.

Cheers,

Michael

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/627

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.8.4.1 milestone Sep 9, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Sep 9, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Sep 9, 2007

comment:2

A patch for the issue can be found at:

http://fsmath.mathematik.uni-dortmund.de/~mabshoff/patches/pari-add_-fPIC_to_DLCFLAGS_for_PPC_Linux.patch

An updated pari.spkg can be found at:

http://fsmath.mathematik.uni-dortmund.de/~mabshoff/sage/pari-2.3.2.p2.spkg

Cheers,

Michael

@williamstein
Copy link
Contributor

comment:3

I made a couple of cosmetic changes to this patch to make pari-2.3.2.p3.spkg, which is available
at sagemath.org at patches/standard:

  1. mv get_dlcflags into patches/
  2. apply get_tdlcflags at build time
  3. put the original get_dlcflags back in src/config, since src/ is supposed to be 100% plain vanilla sources.
  4. did "hg ci" which was forgotten.

@williamstein
Copy link
Contributor

comment:4

actually the patch is at:
http://sage.math.washington.edu/tmp/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant