Commit Graph

68 Commits

Author SHA256 Message Date
Richard Biener
7e22d94abd Accepting request 1152157 from home:dimstar:rpm4.20:g
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1152157
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=97
2024-02-28 08:40:45 +00:00
Richard Biener
6b51ba0d92 - Add gmp-6.3.0-s390x-fix.patch to fix s390x optimized code on z13.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=95
2023-08-22 11:56:23 +00:00
Richard Biener
e188658348 - GMP 6.3.0
* A possible overflow of type int is avoided for mpz_cmp on huge operands.
  * A possible error condition when a malformed file is read with mpz_inp_raw
    is now correctly handled.
  * New public function mpz_prevprime, companion of the existing mpz_nextprime.
  * New documented pointer types mpz_ptr, mpz_srcptr, and similar for other
    GMP types. Refer to the manual for full list and suggested usage. These
    types have been present in gmp.h at least since GMP-4.0, but previously
    not advertised to users.
  * Support for 64-bit Arm under Macos.
  * Support for the loongarch64 CPU family.
  * Support for building with LTO, link-time optimisations.
  * New special code for base = 2 in mpz_powm reduces the average time for
    the functions that test primality.
  * Speedup for the function mpz_nextprime on large operands.
  * Speedup for multiplications (some sizes only) thanks to new internal
    functions to compute small negacyclic products.
  * Special assembly code for IBM z13 and later "mainframe" CPUs, resulting
    in a huge speedup.
  * Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm.
- Removed gmp-6.2.1-CVE-2021-43618.patch which is included in the
  new release.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=93
2023-08-04 08:13:42 +00:00
Richard Biener
895c8325a1 - Add gmp-6.2.1-CVE-2021-43618.patch to fix buffer overflow on
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=92
2021-11-16 07:44:18 +00:00
Richard Biener
749f35f705 - Add gmp-6.2.1-CVE-2021-43618.diff to fix buffer overflow on
malformed input to mpz_inp_raw.  [bsc#1192717, CVE-2021-43618]

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=91
2021-11-16 07:39:19 +00:00
Richard Biener
5d9088ca84 - Compute FIPS hmac for libgmp.so.10 [bsc#1184555]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=89
2021-04-20 13:00:26 +00:00
Richard Biener
708cdb2927 Accepting request 884220 from home:AndreasStieger:branches:devel:libraries:c_c++
- do not break SLE 12 build when applying spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/884220
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=88
2021-04-12 07:38:34 +00:00
Richard Biener
58165c5ce1 - Add gmp-6.2.1-arm64-invert_limb.patch [bsc#1179751]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=86
2020-12-09 07:25:26 +00:00
Richard Biener
569565d9e7 Accepting request 852909 from home:AndreasStieger:branches:devel:libraries:c_c++
GMP 6.2.1

OBS-URL: https://build.opensuse.org/request/show/852909
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=84
2020-12-04 11:04:09 +00:00
Richard Biener
7622773549 Accepting request 808934 from home:coolo:branches:openSUSE:Factory
- correct license statement (library itself is no GPL-3.0)

OBS-URL: https://build.opensuse.org/request/show/808934
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=82
2020-05-27 13:50:02 +00:00
Richard Biener
c278869770 - Remove broken packaged libgmp.a just containing LTO bytecode.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=80
2020-01-27 08:48:27 +00:00
Richard Biener
bdc1b892a8 Accepting request 765643 from home:AndreasStieger:branches:devel:libraries:c_c++
GMP 6.2.0

OBS-URL: https://build.opensuse.org/request/show/765643
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=78
2020-01-20 07:56:31 +00:00
Richard Biener
0728fa7fbf Accepting request 713885 from home:jengelh:branches:devel:libraries:c_c++
- Move prominent summary from description to the summary field,
  and update the main description.

OBS-URL: https://build.opensuse.org/request/show/713885
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=76
2019-07-08 07:16:04 +00:00
Richard Biener
7db4b49627 Accepting request 712734 from home:marxin:branches:devel:libraries:c_c++
- Add floating-point-format-no-lto.patch in order to fix assembler scanning
  (boo#1138809).

OBS-URL: https://build.opensuse.org/request/show/712734
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=75
2019-07-01 10:02:52 +00:00
Richard Biener
230589eada Accepting request 580087 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580087
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=73
2018-02-26 11:10:16 +00:00
Richard Biener
add107a354 Accepting request 455769 from home:dimstar:Factory
- Explicitly BuildRequire m4

OBS-URL: https://build.opensuse.org/request/show/455769
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=71
2017-02-09 14:20:24 +00:00
Richard Biener
905a89f899 - Add gmp-6.1.2-conftest.patch to fix configure test.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=69
2017-01-04 10:48:46 +00:00
Richard Biener
529f83afda - Update to GMP 6.1.2 release.
* Mini-GMP: Fixed a division bug, which on a machine with 64-bit
    unsigned long affects approximately 1 out of 2^32 divisors.
  * Mini-GMP: Fix mpz_set_str crash on inputs with a large number of
    leading zeros. Also stricter input validation, rejecting inputs
    with no digits.
  * Handle more systems which require PIC code in static libraries (e.g.,
    "hardened" Gentoo and Debian 9).
  * Configuration for arm (-32 and -64) has been rewritten, fixing poor
    code selection for many CPUs.
  * Mini-GMP: Updated to the latest development version, including
    new functions mpn_com and mpn_neg.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=68
2017-01-04 08:58:45 +00:00
Ismail Dönmez
abbc6fcdb7 Accepting request 405581 from home:pluskalm:branches:devel:libraries:c_c++
- Use macro for configure (as bsc#870358) is already fixed
- Use xz compressed archives
- Update info pages dependencies

OBS-URL: https://build.opensuse.org/request/show/405581
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=66
2016-06-30 09:03:54 +00:00
8e3e8209df Accepting request 404342 from home:AndreasStieger:branches:devel:libraries:c_c++
gmp 6.1.1

OBS-URL: https://build.opensuse.org/request/show/404342
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=65
2016-06-24 08:19:01 +00:00
Richard Biener
6cd33fc880 - Update to GMP 6.1.0 release.
* New C++ functions gcd and lcm for mpz_class
  * New public mpn functions mpn_divexact_1, mpn_zero_p, and mpn_cnd_swap
  * New public mpq_cmp_z function, to efficiently compare rationals with
    integers
  * Support for more 32-bit arm processors
  * Support for AVX-less modern x86 CPUs
  * Speedups and bugfixes
- Includes gmp-6.0.0-ppc64-gcd.diff, now removed
- Update gmp keyring

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=63
2015-11-02 09:27:02 +00:00
465469edd2 Accepting request 287571 from home:pluskalm:branches:devel:libraries:c_c++
- Remove old ppc related conditionals

- Cleanup spec file with spec-cleaner
- Refresh sources
- Add gpg signature
- Correct version number so that it matches actuall version

OBS-URL: https://build.opensuse.org/request/show/287571
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=61
2015-02-25 08:09:16 +00:00
Richard Biener
f8f5bda8fd Accepting request 261998 from home:Andreas_Schwab:Factory
- Make gmp-noexec.diff compatible with arm
- Use correct version number

OBS-URL: https://build.opensuse.org/request/show/261998
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=59
2014-11-17 11:10:18 +00:00
Ismail Dönmez
9e607a116b Accepting request 260195 from home:a_faerber:branches:devel:libraries:c_c++
Unbreak build

OBS-URL: https://build.opensuse.org/request/show/260195
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=57
2014-11-07 08:53:50 +00:00
Richard Biener
5c25591a1b - Fix build on SLE11 by not using %configure
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=55
2014-03-26 12:39:11 +00:00
Richard Biener
ba391f503f - gmp-6.0.0-ppc64-gcd.diff: Fix build on ppc64 and ppc64le
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=51
2014-03-26 12:22:06 +00:00
Richard Biener
f3edb37aad - Update to GMP 6.0.0 release.
* includes powerpc64le support and obsoletes
    gmp-support-powerpc64le-linux.patch and gmp-ppc64le-mod.patch
  * The function mpz_invert now considers any number invertible in Z/1Z
  * The mpn multiply code now handles operands of more than 2^31 limbs
    correctly
  * Plain division of large operands is faster and more monotonous in
    operand size
  * Major speedup for ARM, in particular ARM Cortex-A15, thanks to improved
    assembly.
  * Speedup for Intel Sandy Bridge, Ivy Bridge, Haswell, thanks to rewritten
    and vastly expanded assembly support.  Speedup also for the older Core 2
    and Nehalem.
  * Faster mixed arithmetic between mpq_class and double.
  * With g++, optimise more operations when one argument is a simple
    constant.
  * Support for ARM64 alias Aarch64 alias ARMv8.
  * New public functions mpn_sec_mul and mpn_sec_sqr, implementing
    side-channel
    silent multiplication and squaring.
  * New public functions mpn_sec_div_qr and mpn_sec_div_r, implementing
    side-channel silent division.
  * New public functions mpn_cnd_add_n and mpn_cnd_sub_n.  Side-channel
    silent conditional addition and subtraction.
  * New public function mpn_sec_powm, implementing side-channel silent
    modexp.
  * New public function mpn_sec_invert, implementing side-channel silent
    modular inversion.
  * Better support for applications which use the mpz_t type, but
    nevertheless need to call some of the lower-level mpn functions.  See

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=50
2014-03-26 09:51:20 +00:00
Ismail Dönmez
dc29fb7129 Accepting request 209470 from openSUSE:Factory:PowerLE
- gmp-support-powerpc64le-linux.patch: Add ppc64le ABIv2 support
- gmp-ppc64le-mod.patch: Fix ppc64le issues

OBS-URL: https://build.opensuse.org/request/show/209470
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=48
2013-12-05 09:05:40 +00:00
Richard Biener
a2c21503c2 - Update to GMP 5.1.3 release.
* The internal functions mpn_sbpi1_div_qr_sec mpn_sbpi1_div_r_sec could
    compute garbage with a low probability.  They are now rewritten, and the
    test code has been improved.
  * A bug in the ia64 implementation of mpn_divrem_2, clobbering some
    callee-save registers, has been fixed. This is an internal
    function, with the bug manifesting itself as miscomputation in,
    e.g., mpn_sqrtrem.
  * The documentation now correctly says 'const' for input arguments.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=46
2013-10-02 08:08:23 +00:00
Richard Biener
2e95ae1e95 - Update to GMP 5.1.2 release.
* A bug in mpz_powm_ui triggered by base arguments of at least 15000
    decimal digits or mod arguments of at least 7500 decimal digits has
    been fixed.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=44
2013-05-22 13:49:59 +00:00
Richard Biener
823f19aa1e Accepting request 161373 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/161373
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=43
2013-03-27 10:44:49 +00:00
Richard Biener
8092df1c22 Accepting request 155928 from home:Andreas_Schwab:Factory
- Update baselibs.conf for removal of libmp3

OBS-URL: https://build.opensuse.org/request/show/155928
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=41
2013-02-21 09:42:28 +00:00
Richard Biener
0dbe70e99e - Update to GMP 5.1.1 release.
* Aarch64 alias ARM64 support now works.
  * A possible buffer overrun in mpz_ior has been fixed.
  * A rare sign flip in mpz_remove has been fixed.
  * A bug causing problems with mpf numbers with absolute value >= 2^31 has
    been fixed.
  * Several bugs in mini-gmp have been fixed.
  * Preliminary support for the x32 ABI under x86-64.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=39
2013-02-13 09:26:00 +00:00
Richard Biener
4009a4a8c4 - Update to GMP 5.1.0 release.
* Bug fixes and speedups
  * Many new CPUs recognised
  * New functions for multi-factorials, and primorial: mpz_2fac_ui,
    mpz_mfac_uiui and mpz_primorial_ui
  * The fat binary mechanism is now more robust in its CPU recognition
  * Drops support for BSD compatibility library

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=38
2012-12-19 10:11:52 +00:00
Stephan Kulow
614cfe908c - replace ; with and in license tag
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=36
2012-09-13 14:33:07 +00:00
Richard Biener
8581152fab - Pick fix for the aborts from CPU detection code from the upstream
branch.  [bnc#671262]

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=34
2012-07-04 08:59:35 +00:00
Ismail Dönmez
d9ea2d8f20 Accepting request 126956 from home:bmwiedemann:branches:devel:libraries:c_c++
- do not abort on kvm's x86_64 "CPU" on AMD (bnc#671262)

OBS-URL: https://build.opensuse.org/request/show/126956
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=32
2012-07-03 09:59:04 +00:00
Ismail Dönmez
27886421ed Accepting request 122655 from home:coolo:branches:openSUSE:Factory
- do not abort on kvm's x86_64 "CPU", just use generic support for
  unknown CPUs

OBS-URL: https://build.opensuse.org/request/show/122655
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=30
2012-05-29 08:10:16 +00:00
Richard Biener
208c21dc3e - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=28
2012-05-07 09:12:04 +00:00
Richard Biener
7b8eb4f842 - Remove redundant --host specification on %configure.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=27
2012-02-15 13:22:04 +00:00
Richard Biener
0151c5b4e6 - 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).

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=26
2012-02-10 13:49:44 +00:00
7489e263e8 Remove redundant tags/sections
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=25
2012-02-04 17:32:54 +00:00
Richard Biener
55c6ba998a - Update to release GMP 5.0.3
* A slight timing leak of the powm_sec functions have been sealed.  (This
    leak could possibly be used to extract the most significant few bits of the
    exponent.  "Few" here means at most 10.)
  * The mpz_nextprime function now runs a safer number of pseudo-random prime
    tests.
  * A bug in division code possibly causing incorrect computation was fixed.
  * New CPUs recognised.
  * IBM S/390 are now supported in both 31/32-bit and 64-bit mode.
- Dropped SUSE local patches for S/390 support.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=22
2012-01-30 09:16:08 +00:00
7ed2aeafd6 - avoid noexec stack patch on arm
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=19
2011-09-27 22:04:53 +00:00
Richard Biener
0d1085e5f1 Accepting request 74148 from home:namtrac:branches:devel:libraries:c_c++
- Update to release GMP 5.0.2
    * Many minor bugs related to portability fixed.
    * The support for HPPA 2.0N now works, after an assembly bug fix.
    * A test case type error has been fixed.  The symptom of this bug
    was spurious 'make check' failures.
    * Fat builds are now supported for 64-bit x86 processors also under Darwin.
- Remove unknown configure option --disable-mpfr

OBS-URL: https://build.opensuse.org/request/show/74148
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=18
2011-06-20 09:28:16 +00:00
5a1c109bb9 Accepting request 67814 from home:oertel:branches:openSUSE:Factory
OBS-URL: https://build.opensuse.org/request/show/67814
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=16
2011-04-19 11:50:39 +00:00
Richard Biener
745bbd3b35 - Drop bogus provides/obsoletes of ABI incompatible gmp version.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=14
2011-01-25 13:17:08 +00:00
OBS User buildservice-autocommit
ae937055e5 Updating link to change in openSUSE:Factory/gmp revision 20.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=e1c3d4b50119457483b14a7e895b4095
2010-09-20 14:31:58 +00:00
OBS User autobuild
bdce7975e6 Accepting request 48540 from devel:libraries:c_c++
checked in (request 48540)

OBS-URL: https://build.opensuse.org/request/show/48540
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=13
2010-09-20 14:31:57 +00:00
Richard Biener
a2e7876857 - Package BSB libmp bindings. [bnc#623910]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=12
2010-09-13 10:20:41 +00:00