Really ports-gcc ought to be using a compatible version of gas.. Do we need
a ports-binutils?
--
Sent from a phone, apologies for poor formatting.
On 3 February 2020 00:12:18 Jeremie Courreges-Anglas <j...@wxcvbn.org> wrote:
On Sun, Feb 02 2020, Christian Weisgerber <na...@mips.inka.de> 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.
Indeed :)
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.
Fails to build on sparc64:
--8<--
/usr/bin/libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" cc -c
-DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo gcd_11
| sed 's/_$//'` -O2 -pipe `test -f 'gcd_11.asm' || echo './'`gcd_11.asm
../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
m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_gcd_11 -DPIC gcd_11.asm
>tmp-gcd_11.s
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:2891
'/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:2557 'test': @lock=gmp-6.2.0;
export _LOCKS_HELD=" gmp-6.2.0"...)
-->8--
build log: https://pbot.rmdir.de/9cefjLlzIP4QEsKwn-g0UA
tmp-gcd_11.s: https://pbot.rmdir.de/pWyiZKnS6FSGcqsuuLs-YQ
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE