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

Copy libpari.dll.a on Cygwin #13333

Closed
jpflori opened this issue Aug 3, 2012 · 27 comments
Closed

Copy libpari.dll.a on Cygwin #13333

jpflori opened this issue Aug 3, 2012 · 27 comments

Comments

@jpflori
Copy link

jpflori commented Aug 3, 2012

On Cygwin, PARI produces not only a shared library dll file but also an import dll.a file.
Nonetheless, the dll.a is not copied by the install targets of the Makefile.

And having it would ensure that other shared libraries linked with -lpari would link to libpari.dll rather than libpari.a (and some as eclib won't work with libpari.a anyway, see #13325), because ld looks in order for dll.a, then a, then dll.

This has been included upstream, see git rev 2c34d58be7f844581733e7c2b96f2a60ee3eb82a and ffd02415dde8a48f7c06765635b0457b23ba60e8

Use the spkg at:
http://www.infres.enst.fr/~flori/sage/pari-2.5.2.p2.spkg

Depends on #13534

Upstream: Fixed upstream, but not in a stable release.

CC: @dimpase

Component: porting: Cygwin

Keywords: pari spkg cygwin

Reviewer: Dmitrii Pasechnik, Jean-Pierre Flori

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

@jpflori jpflori added this to the sage-5.4 milestone Aug 3, 2012
@jpflori
Copy link
Author

jpflori commented Aug 5, 2012

comment:1

Tentative spkg available at
http://perso.telecom-paritech.fr/~flori/sage/pari-2.5.1.p4.spkg

@jpflori
Copy link
Author

jpflori commented Aug 5, 2012

comment:2

I'll post an updated spkg based on #13320 when this gets positive review.

@dimpase
Copy link
Member

dimpase commented Aug 7, 2012

@jpflori
Copy link
Author

jpflori commented Aug 20, 2012

comment:4

Updated spkg on top of pari-2.5.2.p0 from #13320:
http://perso.telecom-paristech.fr/~flori/sage/pari-2.5.2.p1.spkg

@jpflori

This comment has been minimized.

@jpflori
Copy link
Author

jpflori commented Aug 29, 2012

Author: Jean-Pierre Flori

@jpflori
Copy link
Author

jpflori commented Aug 29, 2012

comment:5

No return from upstream yet (which means some weeks now).
If someone thinks the changes made here are logical, let's use the spkg at
http://perso.telecom-paristech.fr/~flori/sage/pari-2.5.2.p1.spkg
in Sage.
At least they make sure that the shared version of Pari is found before the static one when linking (and so surely fix broken pieces of Sage) by only copying a file produced by Pari itself (the only drawback might be that linking should be a little slower, but Cygwin is already slow as hell and I did not notice any difference).

@jpflori
Copy link
Author

jpflori commented Sep 5, 2012

Work Issues: Rebase on #13314

@jpflori
Copy link
Author

jpflori commented Sep 5, 2012

comment:6

This should be rebased on top of #13314.

@jpflori
Copy link
Author

jpflori commented Sep 25, 2012

Changed work issues from Rebase on #13314 to Add PARI fix to #13314

@jpflori
Copy link
Author

jpflori commented Sep 25, 2012

Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release.

@jpflori
Copy link
Author

jpflori commented Sep 25, 2012

comment:7

such a change has been integrated upstream:
http://pari.math.u-bordeaux.fr/archives/pari-dev-1209/msg00041.html
I'll package a version of #13314 inlcuding the corresponding commit (GIT rev 2c34d58be7f8).

@jpflori
Copy link
Author

jpflori commented Sep 30, 2012

Changed work issues from Add PARI fix to #13314 to none

@jpflori
Copy link
Author

jpflori commented Sep 30, 2012

comment:8

New spkg including (slightly modified, because some other commits changed the patching context in between) upstream patches at:
http://perso.telecom-paristech.fr/~flori/sage/pari-2.5.2.p2.spkg

@jpflori

This comment has been minimized.

@jpflori
Copy link
Author

jpflori commented Sep 30, 2012

spkg diff, for review only

@jpflori

This comment has been minimized.

@jpflori
Copy link
Author

jpflori commented Sep 30, 2012

comment:10

Attachment: pari-2.5.2.p2.diff.gz

@dimpase
Copy link
Member

dimpase commented Oct 1, 2012

comment:11

looks good.

@jpflori

This comment has been minimized.

@jdemeyer jdemeyer modified the milestones: sage-5.4, sage-5.5 Oct 3, 2012
@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link

jdemeyer commented Oct 5, 2012

Reviewer: Dmitrii Pasechnik

@jdemeyer
Copy link

jdemeyer commented Oct 5, 2012

comment:15

In the PARI spkg, patches are supposed to be documented in patches/README.txt. Also, I prefer a more descriptive name for the patch file than "Makefile.SH.patch".

I made those fixes in #13534. You could either make those changes here, or wait for #13534 (then this gets closed as duplicate).

@jpflori
Copy link
Author

jpflori commented Oct 5, 2012

comment:16

I'd say let's get this merged with #13534, that's perfectly fine for me.

@jdemeyer
Copy link

jdemeyer commented Oct 6, 2012

Dependencies: #13534

@jdemeyer jdemeyer removed this from the sage-5.5 milestone Oct 23, 2012
@jdemeyer jdemeyer added this to the sage-5.5 milestone Nov 1, 2012
@jdemeyer jdemeyer removed the pending label Nov 1, 2012
@jdemeyer
Copy link

jdemeyer commented Nov 1, 2012

Changed author from Jean-Pierre Flori to none

@jdemeyer
Copy link

jdemeyer commented Nov 1, 2012

Changed reviewer from Dmitrii Pasechnik to Dmitrii Pasechnik, Jean-Pierre Flori

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

3 participants