When you execute ksh, it gives: ksh(26747): unaligned access to 0x600000000000d5e8, ip=0x20000000000a92d0 Bus error (core dumped) This can be fixed by making the default allocation alignment 16 bytes on the ia64 platform with the following patch: --- pdksh-5.2.14/alloc.c Tue May 18 10:45:09 1999 +++ pdksh-patch/alloc.c Mon Jul 31 14:10:43 2000 @@ -110,6 +110,11 @@ Block *block; struct {int _;} junk; /* alignment */ double djunk; /* alignment */ +#ifdef __ia64__ + /* IA64 requires 16 byte alignment for some objects, so make + * this the minimum allocation size */ + char ajunk[16]; +#endif }; struct Block {
Thanks for the patch, will take a look at it soonish.
Verified, applied and upstreamed - look for pdksh-5.2.14-10