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
flintqs builds as 32-bit despite SAGE64=yes on OpenSolaris x64 #9034
Comments
comment:1
Note that the Debian 'dist' subdirectory also exists on this package, and should be removed - see #5903 |
Attachment: flinqs.patch.gz Mercurial patch to build 64-bit |
comment:2
The attached patch resolves this issue. A new package can be found at: http://boxen.math.washington.edu/home/kirkby/patches/flintqs-20070817.p5.spkg Now the -m64 flag is added to the compiler
and the binary is built as 64-bit.
|
Author: David Kirkby |
comment:3
For other OpenSolaris issues, see #9026 |
comment:4
This is quite an old version of flintqs, so I'm not going to report this upstream as a bug. Someone who wants a later version and has the expertese to test it, is welcome to update the version of flintqs in Sage, but for now, I just want to get it working properly on OpenSolaris. Dave |
Changed upstream from Not yet reported upstream; Will do shortly. to None of the above - read trac for reasoning. |
This comment has been minimized.
This comment has been minimized.
Reviewer: Jaap Spies |
comment:7
It is not strictly needed, but it works ok when SAGE64=yes. Looks ok. Positive review. Jaap |
Merged: sage-4.5.alpha0 |
Build environment
How gcc 4.4.4 was configured
Since the configuration of gcc is fairly critical on OpenSolaris, here's how it was built.
gcc 4.3.4 was failing to build iconv on OpenSolaris x64, suggesting it may be essential to have a very recent gcc in order to build Sage on OpenSolaris.
How the Sage build was attempted
The problem with flintqs
So no '-m64' flag is added to the g++ command line, so not surprisingly 'flintqs' does not build as a 64-bit binary. The output from the 'file' command confirms this:
The likely reason for the flintqs problem
spkg-install has this bit of code:
A cursory glance would suggest the 'makefile.osx64' would work for OpenSolaris, Solaris or most other Unix operating systems, though this has not been tested yet.
Upstream: None of the above - read trac for reasoning.
CC: @jaapspies
Component: porting: Solaris
Author: David Kirkby
Reviewer: Jaap Spies
Merged: sage-4.5.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/9034
The text was updated successfully, but these errors were encountered: