Assembler problem on Irix 6.5
Andrew Archibald
archibal@scylla.math.mcgill.ca
Wed, 10 May 2000 18:13:53 -0400
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Hi,
I recently attempted to install GnuPG on an Irix 6.5 machine. I encountered
some problems. The symptoms were infinite loops and occasional
segfaults. In particular, attempting to import the attached file
"gpg-low-security-key" into an empty public keyring (the private
keyring had only the corresponding secret key, impored from another
machine) would fail with a "Bus Error" when GnuPG was compiled with
$ env MAKE=gmake ./configure --enable-static-rnd=egd --with-included-zlib --with-included-gettext --disable-nls --disable-dynload --prefix=/home/s2/archibal/software/gpg --enable-m-guard
My GDB (which I think is broken) would report the error as occurring
in "md_enable" at the line "*ac = *r":
/* and allocate a new list entry */
ac = h->secure? m_alloc_secure( sizeof *ac + r->contextsize
- sizeof(r->context) )
: m_alloc( sizeof *ac + r->contextsize
- sizeof(r->context) );
*ac = *r;
ac->next = h->list;
h->list = ac;
When I recompiled with
$ env MAKE=gmake ./configure --enable-static-rnd=egd --with-included-zlib --with-included-gettext --disable-nls --disable-dynload --prefix=/home/s2/archibal/software/gpg
The software hung, appearing to loop indefinitely in "mpi_invm".
Finally, when reompiling with
$ env MAKE=gmake ./configure --enable-static-rnd=egd --with-included-zlib --with-included-gettext --disable-nls --disable-dynload --prefix=/home/s2/archibal/software/gpg --disable-asm
The operation appeared to succeed. In particular, it did not hang or
cause a bus error, and gpg --list-keys conatins the new key. I have
not yet successfully tested encryption since I am having trouble with
egd. When I recompiled gpg to user the rndunix generator, it appears
to work; I can encrypt and decrypt files.
The final configure line is:
$ env MAKE=gmake ./configure --with-included-zlib --with-included-gettext --prefix=/home/s2/archibal/software/gpg --disable-asm --enable-static-rnd=none
Thank you.
Andrew Archibald
archibal@math.mcgill.ca
PS: Sorry, I'm not subscribed to the list, so please CC me any
questions.
--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=gpg-low-security-key
-----BEGIN PGP PUBLIC KE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