#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 leif):
Replying to [comment:36 dunfield]:
> > 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.
:-) It ''does'' generate "working" code in the sense that the assembly
output is valid (even in the case of #20563 btw.).
But the test should check whether the whole toolchain works, and -- unless
cross-compiling, where `-march=native` wouldn't make sense anyway --
whether such a program can be run on the machine.
Besides hardware bugs, there've also frequently been issues with VMs.
(And note that for example AVX requires ''operating system'' support, not
just an AVX-capable CPU.)
----
> I haven't tested yet, but I think `as -q` might also resolve #20563, so
two birds with one stone and all that.
The (newer) LLVM assembler certainly complies with Intel's AVX
specification... ;-)
--
Ticket URL: <https://trac.sagemath.org/ticket/20779#comment:37>
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.