Page MenuHome GnuPG

mpih-div.c:189: fixed or forbidden register spilled.
Closed, ResolvedPublic

Description

Environment

IBM RS6000 workstation (44P)
AIX 4.3.3

Description

I downloaded gnupg-1.2.2 from Norway on 6/23/2003.
tar -xvf gnupg-1.2.2.tar.gz completed successfully.
./configure --prefix=MyBaseDirectory completed successfully.
Compilation (make) aborted at step mpih-div with the following error msg:
"mpih-div.c:189: fixed or forbidden register was spilled."
"This may be due to a compiler bug or to impossible asm"
"statements or clauses."
Below an extract of the console:

source='mpih-div.c' object='mpih-div.o' libtool=no depfile='.deps/mpih-div.Po' tmpdepfile='.deps/mpih-div.TPo'

depmode=gcc /bin/sh ../scripts/depcomp  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include     -g -O2 -Wall -c `test

-f 'mpih-div.c' || echo './'`mpih-div.c
mpih-div.c: In function `mpihelp_mod_1':
mpih-div.c:86: warning: implicit declaration of function `__udiv_w_sdiv'
mpih-div.c:189: fixed or forbidden register was spilled.
This may be due to a compiler bug or to impossible asm
statements or clauses.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.

  • end of extract *******

How To Repeat

Everytime the compilation is launched after a configuration.

Fix

	Due to a change in gcc (since version 2.8) the MPI stuff may
	not build. In this case try to run configure using:
	    CFLAGS="-g -O2 -mcpu=powerpc" ./configure