Fwd: math/gmp FreeBSD 12.2 Ports build failure on sparc64
Marco Bodrato
bodrato at mail.dm.unipi.it
Fri Nov 5 14:22:19 UTC 2021
Il 2021-11-05 15:12 Torbjörn Granlund ha scritto:
> Alex Dupre <ale at FreeBSD.org> writes:
> tmp-gcd_11.s: Assembler messages:
> tmp-gcd_11.s:210: Error: Illegal operands
> tmp-gcd_11.s:211: Error: Illegal operands
> tmp-gcd_11.s:212: Error: Illegal operands
Above, we saw line numbers...
> root at freebsd12:/usr/ports/math/gmp/work/gmp-6.2.1/mpn # diff
> tmp-gcd_11.s.noPIC tmp-gcd_11.s
> 206,209c206,212
> < sethi %h44(ctz_table), %o5
> < or %o5, %m44(ctz_table), %o5
> < sllx %o5, 12, %o5
> < or %o5, %l44(ctz_table), %o5
> ---
> 206> rd %pc, %o5
> 207> sethi %hi(_GLOBAL_OFFSET_TABLE_+4), %g4
> 208> add %g4, %lo(_GLOBAL_OFFSET_TABLE_+8), %g4
> 209> add %o5, %g4, %g4
> 210> sethi %gdop_hix22(ctz_table), %o5
> 211> xor %o5, %gdop_lox10(ctz_table), %o5
> 212> ldx [%g4 + %o5], %o5, %gdop(ctz_table)
Above I added line numbers (because diff says "c206,212")
> Which lines cause these syntax errors?
It seems they are the lines containing the various %gdop*(ctz_table).
> What syntax for pic data references is accepted by the assembler on
> FreeBSD?
Unfortunately, I don't know.
Ĝis,
m
More information about the gmp-bugs
mailing list