#20779: NTL 9.8.1 does not build on OS X versions 10.8 and 10.9
-------------------------------------------------+------------------------
Reporter: dunfield | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: algebra | Resolution:
Keywords: MacOS AVX no such instruction | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+------------------------
Comment (by dunfield):
> I still don't know whether `as -q ...` works on more recent versions
(where it shouldn't be necessary). While we could check that in
`configure` for source builds, that doesn't help with binary dists. If it
doesn't break anything on 10.10 and later, we could simply include the
script in (all) binary distributions of Sage for MacOS X.
I checked that on 10.10 and 10.11 that `as` accepts `-q` without
complaining. I haven't yet tried building Sage this way, though.
> Not sure whether we have to require Apple's "command line tools"
'''and''' Xcode then (at least for builds from source and "developing"
with bdists).
Definitely just the command-line tools --- I didn't have Xcode installed
on the 10.9 system referred to above.
> All of this is IMHO still orthogonal to fixing NTL's `-march=native`
check (which apparently simply tests whether the compiler ''accepts the
option'', but nothing beyond that -- I haven't looked into the code
though).
I think it's reasonable on NTL's part to assume that if the compiler
accepts the option then it generates working code --- I would argue that
the issue here on OS X is a mismatch or if you prefer a misconfiguration
between the compiler and the assembler.
I haven't tested yet, but I think `as -q` might also resolve #20563, so
two birds with one stone and all that.
--
Ticket URL: <https://trac.sagemath.org/ticket/20779#comment:36>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.