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
port Sage to SPARC Solaris 11 #24596
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
I've managed to build
using system-provided gmp, mpfr, and mpc. |
This comment has been minimized.
This comment has been minimized.
Dependencies: #24602 |
This comment has been minimized.
This comment has been minimized.
comment:9
Lots of issues mentioned in the ticket description do not have a ticket yet. Should I create tickets for each? |
comment:10
One more issue is just reported here: http://www.singular.uni-kl.de:8002/trac/ticket/816 Singular uses specific -Wl linker syntax in libpolys/polys/Makefile.am Feel free to open as many tickets as needed- making sure that we don't duplicate each other. |
This comment has been minimized.
This comment has been minimized.
comment:11
Opened #24611 to deal with Singular linking problems |
This comment has been minimized.
This comment has been minimized.
comment:13
the next snag is R, a bus error during installation of 'tools' package:
|
comment:14
The complete log of R installation is here. http://users.ox.ac.uk/~coml0531/tmp/r-343-solaris11.log I suppose this is a compiler bug (with gcc 7.2.0). I'll try different gcc versions. |
comment:15
To avoid the MPIR trouble, I'm trying |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:19
Replying to @dimpase:
Same error with gcc 7.3.0. Will try gcc 5.4 now. |
comment:21
the problem of R is in pcre (that's where it crashes), and pcre fails its self-tests:
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:57
Are you sure it's a good idea not to pass |
This comment has been minimized.
This comment has been minimized.
comment:58
Replying to @dimpase:
It seems in particular needed to compile C99 code. But I guess it doesn't hurt to add it to |
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
|
This comment has been minimized.
This comment has been minimized.
comment:64
testing:
here is the log for failing tests: |
comment:65
see #24765 for a GAP problem. |
comment:68
Do "we" have still access to the system? Can it be configured as a self-hosted runner for GitHub actions? https://help.github.com/en/actions/hosting-your-own-runners |
comment:69
no access since last year, no reply from the sysadmin. |
comment:70
Outdated, should be closed |
Reviewer: Dima Pasechnik |
We have access to SPARC T4 system
We track here the resulting issues and tickets.
no need to pre-build any tools, apparently. Everything is available via Solaris
pkg
orpkgutil
(i.e. opencsw).MPFR configure fails with MPIR. Can be resolved by using GMP instead. Upstream: issue 242. For details and a possible fix, see enable MPIR on Solaris #24674.
Various packages need
CFLAGS="-D_XPG6"
To take care of the above, set the following before building
OpenBLAS fails to auto-detect SPARC CPU: Fix OpenBLAS build on SPARC #24638
Properly set LD_LIBRARY_PATH in spkg-build for python2/3 on SunOS #24597 fixes building issues for python2/3
building
fplll
andsingular
fails due to a silly C++ (g++ 5.4.0)error, which cannot properly compile templated
pow()
fromcmath
, e.g. the following fails:This appears to be platform-specific. Same error with g++ 7.2.0. Adding
std::
to pow, or addingusing namespace std;
results in successful compilation of this example (and most probably this also will work for Singular).** this problem went away by itself after some changes to the linker used, I don't really know why **
iconv fails due to a wrong assumption on the standard in the
source code, fixed in the latest stable version. upgrade iconv to 1.15 #24602 is the
update to do here.
gcc 7.2 builds fplll, whereas gcc 5.4 cannot do it. See fplll fails to build on SunOS #24618
linking of Singular is tentatively fixed by Singular fails to build on SunOS #24611
Depends on #23733
Depends on #24638
Depends on #24765
CC: @dimpase
Component: porting: Solaris
Branch/Commit: u/jdemeyer/port_sage_to_sparc_solaris_11 @
760cfbb
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/24596
The text was updated successfully, but these errors were encountered: