Problems building 4.2 on AIX 5.3
Torbjorn Granlund
tege at swox.com
Tue Apr 18 19:38:49 CEST 2006
Albert Chin <gmp-discuss at mlists.thewrittenword.com> writes:
/opt/TWWfsw/m4/bin/gm4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP
-DOPERATION_mode1o -DPIC mode1o.asm >tmp-mode1o.s
xlc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
-DOPERATION_mode1o -O2 -qro -qroconst -qmaxmem=-1 -qarch=ppc
tmp-mode1o.s -DPIC -o .libs/mode1o.o
Assembler:
tmp-mode1o.s: line 142: undefined symbol "__gmp_modlimb_invert_table"
tmp-mode1o.s: line 142: illegal expression
gmake[2]: *** [mode1o.lo] Error 1
gmake[2]: Leaving directory `/opt/build/gmp-4.2/mpn'
$ tail -4 mpn/tmp-mode1o.s
.toc
tc__gmp_modlimb_invert_table:
.tc __gmp_modlimb_invert_table[TC], __gmp_modlimb_invert_table[RW]
Apparently AIX wants a .global (or .extern) declaration before en
external symbol can be referenced. I've implemented a fix for 4.2.1
(basically copying the EXTERN stuff from mpn/powerpc64 to mpn/powerpc32).
--
Torbjörn
More information about the gmp-discuss
mailing list