Page MenuHome GnuPG

Compilation dies during make of mpih-div.c on AIX 5.3
Closed, ResolvedPublic

Description

Release: 1.4.1

Environment

AIX 5.3/ML1 on p520, gcc 3.4.3, IBM make

1.4.1 source from ftp.gnupg.org

Description

During 'make all in mpi' the following occurs for mpih-div.c:

       if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include     -g -O2 -Wall -MT mpih-div.o -MD -MP -MF ".deps/mpih-div.Tpo" -c -o
mpih-div.o mpih-div.c;  then mv -f ".deps/mpih-div.Tpo" ".deps/mpih-div.Po"; else rm -f ".deps/mpih-div.Tpo"; exit 1; fi

mpih-div.c: In function `mpihelp_mod_1':
mpih-div.c:86: warning: implicit declaration of function `__udiv_w_sdiv'
mpih-div.c:100: error: can't find a register in class MQ_REGS' while reloading asm'
mpih-div.c:100: error: can't find a register in class MQ_REGS' while reloading asm'
mpih-div.c:106: error: can't find a register in class MQ_REGS' while reloading asm'
mpih-div.c:106: error: can't find a register in class MQ_REGS' while reloading asm'
mpih-div.c:136: error: can't find a register in class MQ_REGS' while reloading asm'
mpih-div.c:136: error: can't find a register in class MQ_REGS' while reloading asm'
make: 1254-004 The error code from the last command is 1.

How To Repeat

unpack source
./configure
make

Fix

Unknown

Event Timeline

Did you tried to use
CFLAGS="-g -O2 -mcpu=powerpc" ./configure
as suggested in the README?

no response - closing