Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1213484 - No AArch64 support in Singular
Summary: No AArch64 support in Singular
Alias: None
Product: Fedora
Classification: Fedora
Component: Singular
Version: rawhide
Hardware: aarch64
OS: Unspecified
Target Milestone: ---
Assignee: Paulo Andrade
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
Reported: 2015-04-20 16:51 UTC by Marcin Juszkiewicz
Modified: 2015-05-01 04:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-05-01 04:08:13 UTC
Type: Bug

Attachments (Terms of Use)
patch which got it built for me (1.12 KB, patch)
2015-04-20 16:53 UTC, Marcin Juszkiewicz
no flags Details | Diff

Description Marcin Juszkiewicz 2015-04-20 16:51:23 UTC
Description of problem:

Singular does not recognize AArch64 architecture and due to this do not build everything ( etc).

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. do a build for aarch64 (arm-koji)

Actual results:


creating cache ./config.cache
checking uname for singular... unknown
configure: warning: Unknown architecture: Check


+ pushd /builddir/build/BUILDROOT/Singular-3.1.6-7.fc21.aarch64/usr/lib64
+ mkdir -p Singular
+ mv 'p_Procs*.so' Singular
mv: cannot stat '': 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:

Comment 1 Marcin Juszkiewicz 2015-04-20 16:53:11 UTC
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.

Comment 2 Paulo Andrade 2015-04-26 16:50:35 UTC
I updated the existing -arches.patch, but did not test it so far
on aarch64. See

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
  #ifdef HAVE_MULT_MOD
  #define HAVE_DIV_MOD

but it should be upstream to make benchmark tests...

Comment 3 Marcin Juszkiewicz 2015-04-27 05:03:40 UTC
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

Comment 4 Paulo Andrade 2015-05-01 04:08:13 UTC
If there any remaining issues please report again.

Note You need to log in before you can comment on or make changes to this bug.