Accepting request 116650 from devel:libraries:c_c++
- Update to release GMP 5.0.5 * A bug causing AMD 11h processors to be treated like AMD 10h has been fixed. * A bug affecting recent Intel Sandy Bridge CPUs resulting in configuration failures has been fixed. - Remove redundant --host specification on %configure. - Update to release GMP 5.0.4 * Thresholds in mpn_powm_sec for both fat and non-fat builds are now used safely, plugging a one-word buffer overrun introduced in the 5.0.3 release (for non-fat) and a multi-word buffer overrun that existed since 5.0 (for fat). (We have not been able to provoke malign stack smashing in any of the ~100 configurations explored by the GMP nightly builds, but the bug should be assumed to be exploitable.) * Two bugs in multiplication code causing incorrect computation with extremely low probability have been fixed. * A bug in the test suite causing buffer overruns during "make check", sometimes leading to subsequent malloc crashes, has been fixed. * Two bugs in the gcd code have been fixed. They could lead to incorrect results, but for uniformly distributed random operands, the likelihood for that is infinitesimally small. (There was also a third bug, but that was an incorrect ASSERT, which furthermore was not enabled by default.) * A bug affecting 32-bit PowerPC division has been fixed. The bug caused miscomputation for certain divisors in the range 2^32 ... 2^64-1 (about 1 in 2^30 of these). - Remove redundant tags/sections (see specfile guidelines) OBS-URL: https://build.opensuse.org/request/show/116650 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gmp?expand=0&rev=30
This commit is contained in:
commit
a06d0c913b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dcafe9989c7f332b373e1f766af8e9cd790fc802fdec422a1910a6ef783480e3
|
||||
size 2010173
|
3
gmp-5.0.5.tar.bz2
Normal file
3
gmp-5.0.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9
|
||||
size 2052144
|
40
gmp.changes
40
gmp.changes
@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 7 09:10:41 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to release GMP 5.0.5
|
||||
* A bug causing AMD 11h processors to be treated like AMD 10h has been fixed.
|
||||
* A bug affecting recent Intel Sandy Bridge CPUs resulting in
|
||||
configuration failures has been fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 13:21:29 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Remove redundant --host specification on %configure.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 13:48:16 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to release GMP 5.0.4
|
||||
* Thresholds in mpn_powm_sec for both fat and non-fat builds are now used
|
||||
safely, plugging a one-word buffer overrun introduced in the 5.0.3 release
|
||||
(for non-fat) and a multi-word buffer overrun that existed since 5.0 (for
|
||||
fat). (We have not been able to provoke malign stack smashing in any of
|
||||
the ~100 configurations explored by the GMP nightly builds, but the bug
|
||||
should be assumed to be exploitable.)
|
||||
* Two bugs in multiplication code causing incorrect computation with
|
||||
extremely low probability have been fixed.
|
||||
* A bug in the test suite causing buffer overruns during "make check",
|
||||
sometimes leading to subsequent malloc crashes, has been fixed.
|
||||
* Two bugs in the gcd code have been fixed. They could lead to incorrect
|
||||
results, but for uniformly distributed random operands, the likelihood for
|
||||
that is infinitesimally small. (There was also a third bug, but that was
|
||||
an incorrect ASSERT, which furthermore was not enabled by default.)
|
||||
* A bug affecting 32-bit PowerPC division has been fixed. The bug caused
|
||||
miscomputation for certain divisors in the range 2^32 ... 2^64-1 (about 1
|
||||
in 2^30 of these).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 4 17:20:28 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections (see specfile guidelines)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 09:13:23 UTC 2012 - rguenther@suse.com
|
||||
|
||||
|
39
gmp.spec
39
gmp.spec
@ -15,14 +15,14 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: gmp
|
||||
BuildRequires: gcc-c++
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: gmp-64bit
|
||||
%endif
|
||||
#
|
||||
Version: 5.0.3
|
||||
Version: 5.0.5
|
||||
Release: 0
|
||||
Summary: The GNU MP Library
|
||||
License: GPL-3.0+ ; LGPL-3.0+
|
||||
@ -73,7 +73,6 @@ Requires: libmp3 = %{version}
|
||||
%ifarch ppc64
|
||||
Obsoletes: gmp-devel-64bit
|
||||
%endif
|
||||
#
|
||||
PreReq: %install_info_prereq
|
||||
|
||||
%description devel
|
||||
@ -81,11 +80,6 @@ These libraries are needed to develop programs which calculate with
|
||||
huge numbers (integer and floating point).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Torbjorn Granlund <tege@zevs.sics.se>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%ifnarch %arm
|
||||
@ -93,32 +87,12 @@ Authors:
|
||||
%endif
|
||||
|
||||
%build
|
||||
# export HOME=/tmp/
|
||||
# %%{?suse_update_config:%%{suse_update_config -f}}
|
||||
# mv config.guess config.guess.gmp
|
||||
# mv config.sub config.sub.gmp
|
||||
# autoreconf -fi
|
||||
# mv config.guess configfsf.guess
|
||||
# mv config.sub configfsf.sub
|
||||
# mv config.guess.gmp config.guess
|
||||
# mv config.sub.gmp config.sub
|
||||
# %ifarch ppc64
|
||||
# # The PowerPC64 assembler funcs are for AIX and somehow don't work on Linux.
|
||||
# rm -fv mpn/powerpc64/*.asm
|
||||
# %endif
|
||||
#%ifarch x86_64 x86
|
||||
# --enable-fat \
|
||||
#%endif
|
||||
%define sanitized_platform %(echo %{_target_cpu} | sed -e "s/sparc64.*/sparc64/" -e "s/sparcv.*/sparc/")-%{_vendor}-%{_target_os}
|
||||
CFLAGS="$RPM_OPT_FLAGS -fexceptions" \
|
||||
./configure --prefix=/usr \
|
||||
--libdir=%{_libdir} \
|
||||
--infodir=%{_infodir} \
|
||||
--build=%{sanitized_platform} \
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fexceptions";
|
||||
%configure \
|
||||
--enable-cxx \
|
||||
--enable-fat \
|
||||
--enable-mpbsd
|
||||
make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?_smp_mflags}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# do not disable "make check", FIX THE BUGS!
|
||||
@ -150,9 +124,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/libmp.la
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -n libgmp10
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgmp.so.10*
|
||||
|
Loading…
Reference in New Issue
Block a user