Russ Allbery <[EMAIL PROTECTED]> writes:
> Marko Rößler <[EMAIL PROTECTED]> writes:

>> finaly i managed to compile the openafs-client with debug symbols and
>> received the following BackTrace:

> Sorry about the delay in responding.  I've forwarded this upstream.  It
> looks to me like there may be some sort of alignment issue in the DES
> library, although I'm not sure why this would just start happening now.

Can you try building with the following patch and let me know if it helps?

=== src/des/des.h
==================================================================
--- src/des/des.h       (revision 2131)
+++ src/des/des.h       (local)
@@ -19,8 +19,9 @@
 
 typedef unsigned char des_cblock[8];   /* crypto-block size */
 /* Key schedule */
+/* This hack gives us int alignment, which the DES library requires. */
 typedef struct des_ks_struct {
-    des_cblock _;
+    int _[8/sizeof(int)];
 } des_key_schedule[16];
 
 #define DES_KEY_SZ     (sizeof(des_cblock))

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>

Reply via email to