#12638: Add some patches to the PARI sources
------------------------------------------------------------------+---------
Reporter: jdemeyer |
Owner: tbd
Type: defect |
Status: needs_review
Priority: major |
Milestone: sage-5.0
Component: packages |
Resolution:
Keywords: | Work
issues:
Report Upstream: Reported upstream. Developers acknowledge bug. |
Reviewers:
Authors: Jeroen Demeyer | Merged
in:
Dependencies: |
Stopgaps:
------------------------------------------------------------------+---------
Changes (by jdemeyer):
* status: needs_work => needs_review
Old description:
> 1. GCC 4.6.3 miscompiles `src/language/init.c` on OS X 10.4 PPC (32-bit),
> because of a problem with pointer arithmetic in `stack_base()` called in
> `pari_init_functions()`. There is an easy work-around by reordering some
> code in the PARI sources. Related to #12369.
>
> This is upstream bug [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330]
>
> -----
>
> 2. PARI's `ispower()` function gives wrong results when applied to
> negative numbers. Related to #12116.
>
> This is fixed upstream [http://pari.math.u-bordeaux.fr/cgi-
> bin/bugreport.cgi?bug=1302]
>
> -----
>
> 3. issquarefree(0) raises an error instead of returning 0. See #12636.
>
> This is fixed upstream [http://pari.math.u-bordeaux.fr/cgi-
> bin/bugreport.cgi?bug=1304]
>
> -----
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/pari-2.5.1.p2.spkg]
New description:
1. GCC 4.6.3 miscompiles `src/language/init.c` on OS X 10.4 PPC (32-bit),
because of a problem with pointer arithmetic in `stack_base()` called in
`pari_init_functions()`. There is an easy work-around by reordering some
code in the PARI sources. Related to #12369.
This is upstream bug [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330]
-----
2. PARI's `ispower()` function gives wrong results when applied to
negative numbers. Related to #12116.
This is fixed upstream [http://pari.math.u-bordeaux.fr/cgi-
bin/bugreport.cgi?bug=1302]
-----
3. issquarefree(0) raises an error instead of returning 0. See #12636.
This is fixed upstream [http://pari.math.u-bordeaux.fr/cgi-
bin/bugreport.cgi?bug=1304]
-----
'''spkg''':
[http://boxen.math.washington.edu/home/jdemeyer/spkg/pari-2.5.1.p3.spkg]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12638#comment:9>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.