Sunday, February 02, 2020

Re: Update: devel/gmp needs testing on other archs

On Sun, Feb 02, 2020 at 10:39:16PM +0100, Christian Weisgerber wrote:
> This updates devel/gmp to 6.2.0.
> gmp has a ton of machine-specific optimizations, so success on one
> arch doesn't mean it will work elsewhere.

> I have successfully run the regression tests on
> * aarch64
> * amd64
> * i386

> I'd like to see it tested on a few more archs, say, powerpc/sparc64/
> mips64, before I commit it.

Unfortunately, it blows up on sparc64:
cc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_11 -O2 -pipe tmp-gcd_11.s -fPIC -DPIC -o .libs/gcd_11.o
tmp-gcd_11.s: Assembler messages:
tmp-gcd_11.s:210: Error: Illegal operands
tmp-gcd_11.s:211: Error: Illegal operands
egcc: internal compiler error: Segmentation fault signal terminated program as
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
Error while executing ../mpn/m4-ccas --m4=m4 cc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_gcd_11 -O2 -pipe gcd_11.asm -fPIC -DPIC -o .libs/gcd_11.o
*** Error 4 in mpn (Makefile:768 'gcd_11.lo')
*** Error 1 in . (Makefile:1020 'all-recursive': @fail=; if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_w...)
*** Error 2 in /usr/ports/pobj/gmp-6.2.0/gmp-6.2.0 (Makefile:785 'all')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2890 '/usr/ports/pobj/gmp-6.2.0/.build_done': @cd /usr/ports/pobj/gmp-6.2.0/gmp-6...)
*** Error 2 in /usr/ports/devel/gmp (/usr/ports/infrastructure/mk/bsd.port.mk:2556 'all': @lock=gmp-6.2.0; export _LOCKS_HELD=" gmp-6.2.0";...)

--Kurt

No comments:

Post a Comment