-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
pari 2.3.3.p0 problem on 't2' but not my home machine (similar setups!!) #6445
Comments
comment:1
I should have stated, this is with sage-4.1.alpha2 |
This comment has been minimized.
This comment has been minimized.
comment:2
This has now been resolved, thanks to Marc Glisse's help after I posted the query to comp.unix.solaris. The PARI code was missing the gcc compiler flag -fPIC. Why PARI built on my own Blade 2000 but not on the 16-core T5240 (t2.math.washington.edu) is not clear to me. Here's a patch, which adds -fPIC to one of the files used to generate the Makefile that PARI uses. http://sage.math.washington.edu/home/kirkby/Solaris-fixes/pari/ Basically all my patch does is to add this to the top of spkg-install, which adds -fPIC
and remove that below
since the latter code was not working, despite it's obvious attempts to add -fPIC David Kirkby |
Changed keywords from solaris pari to solaris pari fPIC |
comment:3
It was noted by Minh Nguyen that there were a couple of junk files (spkg-install.orig & spkg-install.patch). These have now been removed. The package can be found at http://sage.math.washington.edu/home/kirkby/Solaris-fixes/pari/pari-2.3.3.p1.spkg Could someone add that with hg for me, as I don't yet know how to use it (sorry). I meaningful comment would be "Adds -fPIC to allow building on Solaris. Removes a previous unsuccessful attempt at adding -fPIC" Dave |
Author: David Kirkby |
Reviewer: Minh Van Nguyen |
comment:4
Replying to @sagetrac-drkirkby:
I've committed the changes in your name. I also did some minor formatting and fixed some typos. The new spkg is up at |
comment:5
Thank you too. The changes were limited to Solaris, so should have no effect on another platform. Dave |
comment:6
Just to let people know, this has been merged in sage-4.1.1-alpha0. I can't close this ticket because I don't have the privilege to do so. Sorry, folks :-( |
Merged: sage-4.1.1.alpha0 |
Well, is is a bit of an odd one.
I built gcc 4.4.0 to use the Sun linker & assembler on my home machine (Sun Blade 2000, Solaris 10 update 6) and it built 61 packages without issue (see list at the bottom).
On 't2', I only get 6 built
before pari is generating more than 94,000 error messages!
Just for the record, on my home machine, which uses a later version of Solaris 10, but identical versions of Sage and gcc, I got this many packages installed before problems.
Anyway, this is an issue which appears to be unique to t2, so will not to be resolved.
Component: porting: Solaris
Keywords: solaris pari fPIC
Author: David Kirkby
Reviewer: Minh Van Nguyen
Merged: sage-4.1.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6445
The text was updated successfully, but these errors were encountered: