-
-
Notifications
You must be signed in to change notification settings - Fork 660
Description
We have access to SPARC T4 system
SunOS xenos-sagetest 5.11 11.3 sun4v sparc sun4v
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
export PATH=/opt/csw/gnu:$PATH
export CFLAGS="-O2 -g -D_XPG6"
export CXXFLAGS="$CFLAGS" # Maybe not strictly needed
./configure --with-mp=gmp
-
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 templatedpow()
from
cmath
, e.g. the following fails:
#include <cmath>
int main()
{
int i,j,k;
i = 2;
j = 10;
k = pow(i,j);
return k;
}
This appears to be platform-specific. Same error with g++ 7.2.0. Adding std::
to pow, or adding using 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