From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todd Vierling To: Yusuf Goolamabbas Cc: egcs@cygnus.com Subject: Re: PGP 5.0i compiled with egcs-1.0.2/Solaris 2.6-sparc gives bus error Date: Fri, 27 Mar 1998 15:18:00 -0000 Message-id: References: <199803240715.PAA27590@charlotte.krdl.org.sg> X-SW-Source: 1998-03/msg00932.html On Tue, 24 Mar 1998, Yusuf Goolamabbas wrote: : MD5Context, which contains a conditional for HAVE64, which is set along : with typedefs in include/pgpUsuals.h. I am not certain why, but using : I manually disabled the HAVE64 check, so that the code will use : two 32bit words, and that solved the problem. : : Can somebody comment upon this ? On Sun SPARCstations, 8-byte integers (`unsigned long long') ust be aligned on an 8-byte boundary, and it is not used as such in this code. Adding an "unsigned long pad" before the affected variable should fix it. -- -- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)