Description of problem: Singular does not recognize AArch64 architecture and due to this do not build everything (dbmsr.so etc). Version-Release number of selected component (if applicable): 3.1.6-11 How reproducible: always Steps to Reproduce: 1. do a build for aarch64 (arm-koji) 2. 3. Actual results: First: creating cache ./config.cache checking uname for singular... unknown configure: warning: Unknown architecture: Check singuname.sh Then: + pushd /builddir/build/BUILDROOT/Singular-3.1.6-7.fc21.aarch64/usr/lib64 + mkdir -p Singular + mv dbmsr.so 'p_Procs*.so' Singular mv: cannot stat 'dbmsr.so': No such file or directory mv: cannot stat 'p_Procs*.so': No such file or directory RPM build errors: Expected results: package builds Additional info:
Created attachment 1016452 [details] patch which got it built for me With this small patch it built for me. But when I look at amount of code for ARM and s390 then I do not know is it all what is needed.
I updated the existing -arches.patch, but did not test it so far on aarch64. See http://pkgs.fedoraproject.org/cgit/Singular.git/commit/?id=90662c5251ab9e93422685eb14cf20a8d8d4ea84 I think what is more important is to just not guess ... #elif defined(SI_CPU_AARCH64) // FIXME: need to run some tests #define HAVE_MULT_MOD #define HAVE_GENERIC_ADD #ifdef HAVE_MULT_MOD #define HAVE_DIV_MOD #endif ... but it should be upstream to make benchmark tests...
Package builds: Wrote: /builddir/build/RPMS/factory-devel-3.1.6-12.fc23.aarch64.rpm Wrote: /builddir/build/RPMS/factory-gftables-3.1.6-12.fc23.noarch.rpm Wrote: /builddir/build/RPMS/libfac-devel-3.1.6-12.fc23.aarch64.rpm Wrote: /builddir/build/RPMS/Singular-examples-3.1.6-12.fc23.aarch64.rpm Wrote: /builddir/build/RPMS/Singular-doc-3.1.6-12.fc23.aarch64.rpm Wrote: /builddir/build/RPMS/Singular-surfex-3.1.6-12.fc23.aarch64.rpm Wrote: /builddir/build/RPMS/Singular-emacs-3.1.6-12.fc23.aarch64.rpm Wrote: /builddir/build/RPMS/Singular-debuginfo-3.1.6-12.fc23.aarch64.rpm
If there any remaining issues please report again.