Package Details: libgmp-static 6.3.0-1

Git Clone URL: https://aur.archlinux.org/libgmp-static.git (read-only, click to copy)
Package Base: libgmp-static
Description: A free library for arbitrary precision arithmetic, but only includes libgmp.a and libgmpxx.a
Upstream URL: https://gmplib.org
Licenses: GPL2, LGPL3
Submitter: sifyfy
Maintainer: pizzaman
Last Packager: pizzaman
Votes: 4
Popularity: 0.000000
First Submitted: 2019-07-05 06:05 (UTC)
Last Updated: 2023-08-04 11:38 (UTC)

Latest Comments

Dornen commented on 2023-10-10 20:35 (UTC) (edited on 2023-10-10 20:36 (UTC) by Dornen)

Possibly m4 packet is required as dependency? reason - error during configure phase:

checking for suitable m4... configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons).
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: libgmp-static-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
libgmp-static - exit status 4

pizzaman commented on 2022-07-21 09:35 (UTC)

@ccorn Thanks for the suggestion.

Since new Arch Linux builds have LTO enabled by default https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/4/diffs

Included options=(!lto) because of error

strip: ./usr/lib/stzgIG7D/dummy.o: plugin needed to handle lto object

ccorn commented on 2022-07-19 16:54 (UTC) (edited on 2022-07-19 16:54 (UTC) by ccorn)

You now need options=(!lto), else ranlib complains about needing a plugin and truncates the symbol list. Thus, only some gmpn symbols show up in the archive and tests fail.

pizzaman commented on 2021-05-28 08:26 (UTC)

dashpay-bls-signatures requires a version of libgmp.a that is position independent code (i.e., compiled with -fPIC).

andryandrew commented on 2020-12-18 20:08 (UTC) (edited on 2020-12-22 22:12 (UTC) by andryandrew)

Nice package! Can you add the --enable-cxx flag to the PKGBUILD so that also libgmpxx.a is compiled and installed? EDIT: Thanks!

ccorn commented on 2019-08-27 01:10 (UTC)

PKGBUILD should have arch=('x86_64') as for package gmp.