acxz / pkgbuilds

PKGBUILDs for Arch Linux
25 stars 44 forks source link

[mpir] error: storage size of 'u' isn't known #186

Open acxz opened 2 years ago

acxz commented 2 years ago

I'm getting a build error in a clean chroot:

get_d.c: In function '__gmpn_get_d':
get_d.c:125:34: error: storage size of 'u' isn't known
  125 |       union ieee_double_extract  u;
      |                                  ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_tdiv_qr -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -c tdiv_qr.c -o tdiv_qr.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_jacobi_2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -c jacobi_2.c -o jacobi_2.o >/dev/null 2>&1
make[2]: *** [Makefile:452: get_d.lo] Error 1
acxz commented 2 years ago

upstream issue: https://github.com/wbhart/mpir/issues/278

acxz commented 2 years ago

patched with fe734c6