Package Details: gmp4 4.3.2-1

Git Clone URL: https://aur.archlinux.org/gmp4.git (read-only, click to copy)
Package Base: gmp4
Description: Legacy version of gmp. Provides libgmp.so.3.
Upstream URL: http://gmplib.org/
Licenses: LGPL3
Submitter: spaceships
Maintainer: bryanvalente
Last Packager: tippfehlr
Votes: 10
Popularity: 0.000000
First Submitted: 2015-11-06 23:17 (UTC)
Last Updated: 2026-06-12 12:37 (UTC)

Latest Comments

ozzie286 commented on 2026-07-25 17:34 (UTC) (edited on 2026-07-25 17:35 (UTC) by ozzie286)

Using the latest official arch vm image (on x86_64, not ppc), fails to find a suitable compiler.

conftest.c: In function 'foo':
conftest.c:1:21: warning: ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result' [-Wunused-result]
    1 | int k; int foo () { __builtin_alloca (k); }
    |                     ^~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/16/../../../../lib/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
configure:4834: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:4955: gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/arch/.cache/yay/gmp4/src=/usr/src/debug/gmp4 -flto=auto  conftest.c >&5
configure:4958: $? = 0
configure:4963: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4966: $? = 0
Test compile: long long reliability test 1
configure:5019: gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/arch/.cache/yay/gmp4/src=/usr/src/debug/gmp4 -flto=auto  conftest.c >&5
conftest.c:9:1: error: return type defaults to 'int' [-Wimplicit-int]
    9 | f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
    | ^
conftest.c: In function 'f':
conftest.c:10:44: error: implicit declaration of function 'h' [-Wimplicit-function-declaration]
10 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
    |                                            ^
conftest.c:10:48: error: implicit declaration of function 'g' [-Wimplicit-function-declaration]
10 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
    |                                                ^
conftest.c: At top level:
conftest.c:11:1: error: return type defaults to 'int' [-Wimplicit-int]
11 | h(){}g(){}
    | ^
conftest.c:11:6: error: return type defaults to 'int' [-Wimplicit-int]
11 | h(){}g(){}
    |      ^
configure:5022: $? = 1
failed program was:
/* The following provokes a segfault in the compiler on powerpc-apple-darwin.
Extracted from tests/mpn/t-iord_u.c.  Causes Apple's gcc 3.3 build 1640 and
1666 to segfault with e.g., -O2 -mpowerpc64.  */

#if defined (__GNUC__) && ! defined (__cplusplus)
typedef unsigned long long t1;typedef t1*t2;
static __inline__ t1 e(t2 rp,t2 up,int n,t1 v0)
{t1 c,x,r;int i;if(v0){c=1;for(i=1;i<n;i++){x=up[i];r=x+1;rp[i]=r;}}return c;}
f(){static const struct{t1 n;t1 src[9];t1 want[9];}d[]={{1,{0},{1}},};t1 got[9];int i;
for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
h(){}g(){}
#else
int dummy;
#endif

This repeats 2 more times, I wasn't sure how much of the config.log I should post.

mr2meows commented on 2025-08-06 20:15 (UTC)

configure: error: could not find a working compiler, see config.log for details ==> ERROR: A failure occurred in build(). Aborting...

khvalera commented on 2016-11-21 21:52 (UTC)

in file PKGBUILD no i686

simon-nicholls commented on 2016-02-15 15:37 (UTC)

Source has moved to https://gmplib.org/download/archive/gmp-${pkgver}/gmp-${pkgver}.tar.xz