dev-libs / gmp

Library for arbitrary-precision arithmetic on different type of numbers

Official package sites : ·

v6.1.2-r1 :: 0/10.4 :: gentoo

|| ( LGPL-3+ GPL-2+ )
~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~ia64 ~m68k ~m68k-mint ~mips ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~riscv ~s390 ~sh ~sparc ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris
USE flags
asm cxx doc static-libs

v6.1.2 :: 0/10.4 :: gentoo

|| ( LGPL-3+ GPL-2+ )
alpha amd64 arm arm64 hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~amd64-linux ~m68k-mint ~mips ~ppc-aix ~ppc-macos ~sparc-solaris ~sparc64-solaris ~x64-cygwin ~x64-macos ~x64-solaris ~x86-fbsd ~x86-linux ~x86-macos ~x86-solaris
USE flags
asm cxx doc static-libs

v4.3.2-r1 :: 3 :: gentoo

alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~mips ~x86-fbsd


Enable use of hand optimized assembly routines (faster execution)
Build support for C++ (bindings, extra libraries, code generation, ...)
Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
Build static versions of dynamic libraries as well


64-bit (32-bit pointer) libraries
64-bit libraries
32-bit libraries


64-bit (rv64) soft-float libraries
64-bit (rv64) double hard-float libraries


32-bit (s390) libraries
64-bit (s390x) libraries


32-bit (x86) libraries
64-bit (amd64) libraries
x32 ABI libraries

app-arch / xz-utils : utils for managing LZMA compressed files

app-portage / elt-patches : Collection of patches for libtool.eclass

sys-devel / m4 : GNU macro processor

app-backup / bacula : Featureful client/server network backup suite

app-backup / bareos : Featureful client/server network backup suite

app-crypt / codecrypt : Post-quantum cryptography tool

app-crypt / johntheripper-jumbo : fast password cracker

app-crypt / ssss : Shamir's Secret Sharing Scheme

app-crypt / tpm-emulator : Emulator driver for tpm

app-editors / emacs-vcs : The extensible, customizable, self-documenting real-time display editor

app-office / kmymoney : Personal finance manager based on KDE Frameworks

app-office / ledger : A double-entry accounting system with a command-line reporting interface

app-office / libalkimia : Library with common classes and functionality used by KDE finance applications

app-text / texlive-core : A complete TeX distribution

dev-ada / gnatcoll : GNAT Component Collection

dev-ada / gnatcoll-bindings : GNAT Component Collection

dev-cpp / eigen : C++ template library for linear algebra

dev-games / goatee : A monadic take on a 2,500-year-old board game - library

dev-haskell / c2hs : C->Haskell FFI tool that gives some cross-language type safety

dev-haskell / stack-bin : The Haskell Tool Stack (Binary)

dev-java / gnu-classpath : Free core class libraries for use with Java VMs and compilers

dev-lang / ats : ATS Programming Language

dev-lang / crystal : The Crystal Programming Language

dev-lang / epic : Compiler for a simple functional language

dev-lang / esco : Combine interpreter of esoteric languages

dev-lang / ghc : The Glasgow Haskell Compiler

dev-lang / gnat-gpl : GNAT Ada Compiler - GPL version

dev-lang / helium : The Helium Compiler

dev-lang / julia : High-performance programming language for technical computing

dev-lang / maude : High-level specification language for equational and logic programming

dev-lang / mlton : Standard ML optimizing compiler and libraries

dev-lang / mozart : Advanced development platform for intelligent, distributed applications

dev-lang / open-cobol : an open-source COBOL compiler

dev-lang / parrot : Virtual machine designed to compile and execute bytecode for dynamic languages

dev-lang / php : The PHP language runtime engine

dev-lang / polyml : Poly/ML is a full implementation of Standard ML

dev-lang / swi-prolog : versatile implementation of the Prolog programming language

dev-lang / yap : YAP is a high-performance Prolog compiler

dev-libs / botan : A C++ crypto library

dev-libs / cloog : A loop generator for scanning polyhedra

dev-libs / d0_blind_id : Blind-ID library for user identification using RSA blind signatures

dev-libs / gecode : An environment for developing constraint-based applications

dev-libs / igraph : Creating and manipulating undirected and directed graphs

dev-libs / isl : A library for manipulating integer points bounded by linear constraints

dev-libs / libbytesize : Tiny library providing a C "class" for working with arbitrary big sizes in bytes

dev-libs / libsecp256k1 : Optimized C library for EC operations on curve secp256k1

dev-libs / mpc : A library for multiprecision complex arithmetic with exact rounding

dev-libs / mpfr : library for multiple-precision floating-point computations with exact rounding

dev-libs / nettle : Low-level cryptographic library

dev-libs / ntl : High-performance and portable Number Theory C++ library

dev-libs / openssl : full-strength general purpose cryptography library (including SSL and TLS)

dev-libs / ppl : The Parma Polyhedra Library for numerical analysis of complex systems

dev-libs / rasqal : Library that handles Resource Description Framework (RDF)

dev-lisp / ecls : ECL is an embeddable Common Lisp implementation

dev-lisp / gcl : GNU Common Lisp

dev-ml / zarith : Arithmetic and logic operations over arbitrary-precision integers

dev-perl / Crypt-DH : Diffie-Hellman key exchange system

dev-perl / Crypt-DH-GMP : Crypt::DH Using GMP Directly

dev-perl / Math-BigInt-GMP : Use the GMP library for Math::BigInt routines

dev-perl / Math-GMP : High speed arbitrary size integer math

dev-python / gmpy : Python bindings for GMP, MPC, MPFR and MPIR libraries

dev-python / pycrypto : Python Cryptography Toolkit

dev-python / pycryptodome : A self-contained cryptographic library for Python

dev-scheme / guile : GNU Ubiquitous Intelligent Language for Extensions

dev-scheme / stklos : fast and light Scheme implementation

dev-util / numdiff : File comparision, ignoring small numeric differences and formats

games-action / minetest : An InfiniMiner/Minecraft inspired game

games-board / gnubg : GNU BackGammon

games-roguelike / mazesofmonad : Console-based roguelike Role Playing Game similar to nethack

gnustep-base / gnustep-base : A library of general-purpose, non-graphical Objective C objects

kde-apps / kcalc : KDE calculator

media-gfx / openscad : The Programmers Solid 3D CAD Modeller

media-sound / snd : Snd is a sound editor

media-video / ffmpeg : Complete solution to record, convert and stream audio and video. Includes libavcodec

net-analyzer / zmap : Fast network scanner designed for Internet-wide network surveys

net-firewall / nftables : Linux kernel (3.13+) firewall, NAT and packet mangling tools

net-irc / scrollz : Advanced IRC client based on ircII

net-libs / aqbanking : Generic Online Banking Interface

net-libs / gnutls : A TLS 1.2 and SSL 3.0 implementation for the GNU project

net-libs / libktorrent : BitTorrent library based on KDE Frameworks

net-libs / meanwhile : Meanwhile (Sametime protocol) library

net-libs / nativebiginteger : jbigi library used by net-vpn/i2p

net-misc / aria2 : A download utility with segmented downloading with BitTorrent support

net-misc / miniupnpd : MiniUPnP IGD Daemon

net-misc / sobby : Standalone Obby server

net-p2p / cpuminer-opt : Optimized multi algo CPU miner

net-vpn / libreswan : IPsec implementation for Linux, fork of Openswan

net-vpn / strongswan : IPsec-based VPN solution, supporting IKEv1/IKEv2 and MOBIKE

net-wireless / gnuradio : Toolkit that provides signal processing blocks to implement software radios

sci-biology / abyss : Assembly By Short Sequences - a de novo, parallel, paired-end sequence assembler

sci-calculators / wcalc : A flexible command-line scientific calculator

sci-chemistry / coot : Crystallographic Object-Oriented Toolkit

sci-libs / bliss : Compute Automorphism Groups and Canonical Labelings of Graphs

sci-libs / cdd+ : Another implementation of the double description method

sci-libs / cddlib : C implementation of the Double Description Method of Motzkin et al

sci-libs / cln : Class library (C++) for numbers

sci-libs / fplll : Different implementations of the floating-point LLL reduction algorithm

sci-libs / libcore : Robust numerical and geometric computation library

sci-libs / libint : Matrix elements (integrals) evaluation over Cartesian Gaussian functions

sci-libs / libqalculate : A modern multi-purpose calculator library

sci-libs / lrslib : Self-contained C implementation of the reverse search algorithm

sci-libs / mpfi : Multiple precision interval arithmetic library based on MPFR

sci-libs / symengine : Fast symbolic manipulation library, written in C++

sci-mathematics / 4ti2 : Software package for algebraic, geometric and combinatorial problems

sci-mathematics / arb : C library for arbitrary-precision interval arithmetic

sci-mathematics / bertini : Software for Numerical Algebraic Geometry

sci-mathematics / cgal : C++ library for geometric algorithms and data structures

sci-mathematics / cvc3 : CVC3 is a theorem prover for Satisfiability Modulo Theories (SMT) problems

sci-mathematics / cvc4 : automatic theorem prover for satisfiability modulo theories (SMT) problems

sci-mathematics / flint : Fast Library for Number Theory

sci-mathematics / form : Symbolic Manipulation System

sci-mathematics / fricas : FriCAS is a fork of Axiom computer algebra system

sci-mathematics / frobby : Software system and project for computations with monomial ideals

sci-mathematics / genius : Genius Mathematics Tool and the GEL Language

sci-mathematics / gfan : computes Groebner fans and tropical varities

sci-mathematics / ggnfs : A suite of algorithms to help factoring large integers

sci-mathematics / gimps : The Great Internet Mersenne Prime Search

sci-mathematics / glpk : GNU Linear Programming Kit

sci-mathematics / gmp-ecm : Elliptic Curve Method for Integer Factorization

sci-mathematics / gretl : Regression, econometrics and time-series library

sci-mathematics / nauty : Computing automorphism groups of graphs and digraphs

sci-mathematics / normaliz : Tool for computations in affine monoids and more

sci-mathematics / pari : Computer-aided number theory C library and tools

sci-mathematics / polymake : research tool for polyhedral geometry and combinatorics

sci-mathematics / singular : Computer algebra system for polynomial computations

sci-mathematics / topcom : Computing Triangulations Of Point Configurations and Oriented Matroids

sci-mathematics / yafu : Yet another factoring utility

sci-mathematics / z3 : An efficient theorem prover

sys-apps / coreutils : Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)

sys-apps / gawk : GNU awk pattern-matching language

sys-devel / gcc : The GNU Compiler Collection

sys-devel / gcc-apple : Apple branch of the GNU Compiler Collection, Developer Tools 4.0

sys-devel / kgcc64 : 64bit kernel compiler

www-apps / rocketwiki-lqfb : Small parser which translates a wiki dialect to HTML

www-client / epiphany : GNOME webbrowser based on Webkit

=dev-libs/gmp-6.0.0a: configure fails on Gentoo/FreeBSD (m4 vs gm4)
dev-libs/gmp-6.0.0a: build fails when using -mips16 due to mpn/mips32/add_n.asm
[RAP] Compile of dev-libs/gmp fails with multiple definitions
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
dev-libs/gmp: keyword ~riscv
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/gmp: drop USE=pgo from stable ebuild, bug #658688
USE=pgo generates optimal constants when running 'tuneup' benchmark locally. If benchmark does not succeed default parameters are used. Else benchmark's output is used to tune gmp behaviour. Unfortunately at least on x86 some primitives like __mpn_sqr_basecase generate invalid assembly code at fail tests. In bug #650558 we found out that 'tuneup' is not very well maintained upstream. Let's dropp support for USE=pgo until it gets better. Reported-by: Robert Gill Closes: Bug: Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-libs/gmp: allow user patches
To ease tweaking 'tuneup' and other tools allow user patches. Bug: Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <>
Repository mirror & CI · gentoo
Merge updates from master
Andreas K. Hüttel · gentoo
dev-libs/gmp: Remove old
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Repository mirror & CI · gentoo
Merge updates from master
Michael Mair-Keimberger · gentoo
dev-libs/gmp: use HTTPs
Sergei Trofimovich · gentoo
dev-libs/gmp: drop USE=pgo (bitrot), bug #650558
Nikita found out that USE=pgo does not work for quite a while both upstream and downstream: Let's remove USE=pgo completely until better times. Reported-by: Nikita Zlobin Closes: Package-Manager: Portage-2.3.28, Repoman-2.3.9
Michał Górny · gentoo
*/*: Remove sparc-fbsd keywords
Mike Frysinger · gentoo
dev-libs/gmp: mark 6.1.2 arm/arm64/m68k/s390/sh stable
Fabian Groffen · gentoo
dev-libs/gmp: add patch to aid bootstrapping with old gcc on darwin
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Sergei Trofimovich · gentoo
dev-libs/gmp: stable 6.1.2 for hppa, bug #638752
Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="hppa"
Thomas Deutschmann · gentoo
dev-libs/gmp: x86 stable (bug #638752)
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Sergei Trofimovich · gentoo
dev-libs/gmp: stable 6.1.2 for sparc, bug #638752 (thanks to Rolf Eike Beer)
Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="sparc"
Matt Turner · gentoo
dev-libs/gmp-6.1.2: alpha stable, bug 638752
Matt Turner · gentoo
dev-libs/gmp-6.1.2: amd64 stable, bug 638752
Sergei Trofimovich · gentoo
dev-libs/gmp: stable 6.1.2 for ia64/ppc/ppc64, bug #638752
Package-Manager: Portage-2.3.16, Repoman-2.3.6 RepoMan-Options: --include-arches="ia64 ppc ppc64"
Harri Nieminen · gentoo
dev-libs/gmp: Fix toolong DESCRIPTION
Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes:
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <>
Michael Haubenwallner · gentoo
dev-libs/gmp: keyword ~x64-cygwin
Package-Manager: portage-2.3.3
Fabian Groffen · gentoo
dev-libs/gmp: dropped ~hppa-hpux ~ia64-hpux ~ia64-linux ~x64-freebsd ~x86-freebsd ~x86-interix
Package-Manager: portage-2.3.3
T. Malfatti · gentoo
media-libs/portaudio: Version bump
Fabian Groffen · gentoo
dev-libs/gmp: fix configure, bug #603216
Package-Manager: portage-2.3.0
Fabian Groffen · gentoo
dev-libs/gmp: add Prefix support
Package-Manager: portage-2.3.0
Mike Frysinger · gentoo
dev-libs/gmp: version bump to 6.1.2
Mike Frysinger · gentoo
dev-libs/gmp: make sure configure stays +x
Depending on the version of patch used, updates to the configure script might have lost the +x bit. Since we already chmod the main script, add the wrapped one to the list too to workaround patch misbehavior.
Mike Frysinger · gentoo
dev-libs/gmp: fix USE=pgo builds for some systems #568320
Mike Frysinger · gentoo
dev-libs/gmp: add upstream fix for USE=-asm builds
Mike Frysinger · gentoo
dev-libs/gmp: mark 6.1.0 arm64/ia64/m68k/ppc/s390/sh/sparc/x86 stable
Agostino Sarubbo · gentoo
dev-libs/gmp: amd64 stable wrt bug #586540
Package-Manager: portage-2.2.28 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <>
Jeroen Roovers · gentoo
dev-libs/gmp: Stable for HPPA (bug #586540).
Package-Manager: portage-2.3.0 RepoMan-Options: --ignore-arches
Jeroen Roovers · gentoo
dev-libs/gmp: Stable for PPC64 (bug #586540).
Package-Manager: portage-2.3.0 RepoMan-Options: --ignore-arches
Tobias Klausmann · gentoo
dev-libs/gmp-6.1.0-r0: add alpha keyword
Gentoo-Bug: 586540 Package-Manager: portage-2.3.0
Markus Meier · gentoo
dev-libs/gmp: arm stable, bug #586540
Package-Manager: portage-2.3.0_rc1 RepoMan-Options: --include-arches="arm"
Mike Frysinger · gentoo
dev-libs/gmp: drop old <6.0.0a versions
Mike Frysinger · gentoo
dev-libs/gmp: version bump to 6.1.1
Mike Frysinger · gentoo
dev-libs/gmp: work around broken clang during noexecstack detection
Mike Frysinger · gentoo
dev-libs/gmp: re-add pdf
It wasn't available previously via their website.
Mike Frysinger · gentoo
dev-libs/gmp: version bump to 6.1.0
Mike Frysinger · gentoo
dev-libs/gmp: drop unused flag-o-matic inherit
This was used with filter-flags many years ago, but when we dropped that call, forgot to also drop the inherit.
Mike Frysinger · gentoo
dev-libs/gmp: add multilib logic to older SLOT #563886
Mike Frysinger · gentoo
dev-libs/gmp: drop old abi_x86_32 emul-linux-x86 logic
These packages have been gone for a few years now.
Mike Frysinger · gentoo
dev-libs/gmp: sync GMPABI handling across current versions #563886
No functional changes here really -- just make the ebuilds we want to keep in the tree act the same.
Mike Frysinger · gentoo
dev-libs/gmp: drop old versions
Mike Frysinger · gentoo
dev-libs/gmp: mark 6.0.0a alpha/arm/arm64/ia64/m68k/s390/sh stable #562082
Mikle Kolyada · gentoo
dev-libs/gmp: sparc stable wrt bug #562068
Package-Manager: portage-
Agostino Sarubbo · gentoo
dev-libs/gmp: x86 stable wrt bug #562082
Package-Manager: portage- RepoMan-Options: --include-arches="x86"
Agostino Sarubbo · gentoo
dev-libs/gmp: amd64 stable wrt bug #562082
Package-Manager: portage- RepoMan-Options: --include-arches="amd64"
Anthony G. Basile · gentoo
dev-libs/gmp: 6.0.0a stable for ppc and ppc64. bug #562082.
Package-Manager: portage-
Jeroen Roovers · gentoo
dev-libs/gmp: Stable for HPPA (bug #562082).
Package-Manager: portage-2.2.22 RepoMan-Options: --ignore-arches
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <> X-Thanks: Alec Warner <> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <> - validation scripts X-Thanks: Patrick Lauer <> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed