Mailing List Archive

gpg 1.0.3 won't compile on AIX 4.1.4
When compiling gpg 1.0.3 on AIX 4.1.4 using gcc 2.95.1 it fails with
errors about invalid assembly instructions even when configured with
the --disable-asm directive. The suggested fix to use -mcpu=powerpc
simply produces errors about instructions not being implemented in
the current assembly mode PPC. The errors are included below. Please
let me know if you've successfully built gpg on AIX and how.

gcc -DHAVE_CONFIG_H -I. -I../../gnupg-1.0.3/mpi -I.. -I../../gnupg-1.0.3/include
-O3 -I/usr/intel/pkgs/zlib/1.1.3/include -I/usr/intel/pkgs/gdbm/1.8.0/includ
e -Wall -c ../../gnupg-1.0.3/mpi/mpih-div.c
../../gnupg-1.0.3/mpi/mpih-div.c: In function `mpihelp_mod_1':
../../gnupg-1.0.3/mpi/mpih-div.c:86: warning: implicit declaration of function `
../../gnupg-1.0.3/mpi/mpih-div.c:100: Invalid `asm' statement:
../../gnupg-1.0.3/mpi/mpih-div.c:100: fixed or forbidden register 64 (mq) was sp
illed for class MQ_REGS.
../../gnupg-1.0.3/mpi/mpih-div.c:101: Invalid `asm' statement:
../../gnupg-1.0.3/mpi/mpih-div.c:101: fixed or forbidden register 64 (mq) was sp

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: gpg 1.0.3 won't compile on AIX 4.1.4 [ In reply to ]
I was able to successfully build gpg 1.0.3 for AIX 4.1.4 using the
IBM C compiler with this configure line:

C=/usr/bin/cc CFLAGS='-O3 -I/usr/intel/pkgs/zlib/1.1.3/include -I/usr/intel/pkgs/gdbm/1.8.0/include' LDFLAGS='-L/usr/intel/pkgs/zlib/1.1.3/lib -L/usr/intel/pkgs/gdbm/1.8.0/lib' ../gnupg-1.0.3/configure --prefix=/usr/intel/00r1 --disable-nls --disable-asm

However, it does fail 3 of the 24 tests with the following output:

Home: .
Supported algorithms:
Cipher: 3DES, CAST5, BLOWFISH, TWOFISH
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG
Hash: MD5, SHA1, RIPEMD160
PASS: version.test
Hash algorithm TIGER/192 is not installed
PASS: mds.test
PASS: decrypt.test
PASS: decrypt-dsa.test
PASS: sigs.test
PASS: sigs-dsa.test
PASS: encrypt.test
PASS: encrypt-dsa.test
PASS: seat.test
PASS: clearsig.test
cmp: EOF on plain-1
encryptp.test: plain-1: mismatch
FAIL: encryptp.test
PASS: detach.test
PASS: armsigs.test
PASS: armencrypt.test
cmp: EOF on plain-1
armencryptp.test: plain-1: mismatch
FAIL: armencryptp.test
PASS: signencrypt.test
PASS: signencrypt-dsa.test
PASS: armsignencrypt.test
PASS: armdetach.test
PASS: armdetachm.test
PASS: detachm.test
extra characters after close-quote
while executing
"expect -nobrace -exact "y\r
\r \r\r
You need a User-ID to identify your key; the software constructs the user id\r
from Re ..."
invoked from within
"expect {
-exact "y\r
\r \r\r
You need a User-ID to identify your key; the software constructs the user id\r
from Real Name, ..."
FAIL: genkey1024.test
PASS: conventional.test
PASS: conventional-mdc.test
====================
3 of 24 tests failed
====================

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org