#15773: Build ATLAS on ARM
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-6.1
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/build_atlas_on_arm        |  81a2ea983e2903b9cc5f2a78a57dd24fe32e48d5
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dimpase):

 in `CONFIG/src/atlcomp.txt` we see
 {{{
 # ARM defaults
 #
 MACH=ARMv7 OS=ALL LVL=1000 COMPS=xcc
    'gcc' '-mcpu=cortex-a8 -O1 -mfpu=vfpv3 -mfloat-abi=softfp '
 MACH=ARMv7 OS=ALL LVL=1000 COMPS=smc,skc,gcc,icc
    'gcc' '-O1 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-
 abi=softfp -fno-expensive-optimizations'
 MACH=ARMv7 OS=ALL LVL=1000 COMPS=dmc,dkc
    'gcc' '-O1 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-
 abi=softfp -fno-schedule-insns2'
 MACH=ARMv7 OS=ALL LVL=1000 COMPS=f77
    'gfortran' '-mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=softfp -O'
 }}}
 i.e. `mfloat` is always set to `soft`. But on this machine (and on more
 and more modern ARM chips, I gather) it is `hard`. So this is why, I
 guess, you get that error.
 I suppose a proper detection of `mfloat-abi` should be added, unless
 upstream already did so.

--
Ticket URL: <http://trac.sagemath.org/ticket/15773#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to