Problems building 4.2 on AIX 5.3

Albert Chin gmp-discuss at mlists.thewrittenword.com
Mon Apr 17 22:37:21 CEST 2006


On Fri, Mar 31, 2006 at 03:58:01PM -0600, Albert Chin wrote:
> I tried building GMP 4.2 on AIX 5.3 with the IBM C/C++ compiler:
>   $ gtar jxf gmp-4.2.tar.bz2
>   $ cd gmp-4.2
>   $ ./configure CC=xlc CXX=xlC LDFLAGS=-Wl,-brtl \
>   M4=/opt/TWWfsw/m4/bin/gm4 ABI=32 --enable-shared \
>   --enable-static --disable-dependency-tracking
>   $ gmake
>   ...
>   /opt/TWWfsw/m4/bin/gm4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP
>   -DOPERATION_diveby3 -DPIC diveby3.asm >tmp-diveby3.s
>    xlc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..
>   -DOPERATION_diveby3 -O2 -qmaxmem=20000 -qarch=ppc tmp-diveby3.s -DPIC
>   -o .libs/diveby3.o
>   Assembler:
>   tmp-diveby3.s: line 112: invalid opcode or pseudo-op
>   gmake[2]: *** [diveby3.lo] Error 1
>   gmake[2]: Leaving directory `/opt/build/china/gmp-4.2/mpn'
>   gmake[1]: *** [all-recursive] Error 1

Another error further on:
  /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]

-- 
albert chin (china at thewrittenword.com)


More information about the gmp-discuss mailing list