#13948: Let MPIR build with Clang
-------------------------------------------------+-------------------------
Reporter: jpflori | Owner: leif
Type: defect | Status:
Priority: major | needs_review
Component: packages: standard | Milestone: sage-5.12
Keywords: spkg mpir clang | Resolution:
Authors: Jeroen Demeyer | Merged in:
Report Upstream: Reported upstream. Developers | Reviewers:
acknowledge bug. | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Description changed by jdemeyer:
Old description:
> There are two problems with the MPIR `configure` script for Clang:
>
> 1) It uses `__builtin_malloc()` which Clang doesn't have, which is an
> 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 spkg changes the test slightly for Clang.
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/mpir-2.6.0.p3.spkg]
> ([attachment:mpir-2.6.0.p3.diff spkg diff])
New description:
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 spkg changes the test slightly for Clang.
'''spkg''':
[http://boxen.math.washington.edu/home/jdemeyer/spkg/mpir-2.6.0.p3.spkg]
([attachment:mpir-2.6.0.p3.diff spkg diff])
--
--
Ticket URL: <http://trac.sagemath.org/ticket/13948#comment:34>
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.