#13948: Let MPIR build with Clang
-------------------------------------------------+-------------------------
Reporter: jpflori | Owner: leif
Type: defect | Status: closed
Priority: blocker | Milestone: sage-5.12
Component: packages: standard | Resolution: fixed
Keywords: spkg mpir clang | Merged in:
Authors: Jeroen Demeyer | sage-5.12.rc1
Report Upstream: Reported upstream. Developers | Reviewers: John
acknowledge bug. | Palmieri
Branch: | Work issues:
Dependencies: | Commit:
| Stopgaps:
-------------------------------------------------+-------------------------
Comment (by leif):
Replying to [ticket:13948 jpflori]:
> There are two problems with the MPIR `configure` script for Clang:
>
> 1) It uses `__builtin_malloc()` which Clang doesn't have, which is an
MPIR upstream bug (up to and including MPIR 2.6.0). The spkg simply
removes this test.
>
> 2) The "long long reliability" test fails with a linker error. This
looks like a Clang bug.
The latter one apparently now hits GCC (5.0.1 RC1) as well... B)
(From `config.log` it also seems that the `__builtin_alloca()`
availability test fails for a different reason, but that's harmless.)
--
Ticket URL: <http://trac.sagemath.org/ticket/13948#comment:42>
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/d/optout.