Hi, I can reproduce this easily on sparc:
[EMAIL PROTECTED]:~/443880$ ./test Bus error On alpha it runs, but the kernel has to fix up exceptions in the background: [EMAIL PROTECTED]:~/433880$ ./test [EMAIL PROTECTED]:~/433880$ dmesg | tail -4 test(20637): unaligned trap at 0000000120002d84: 000000011f41b4aa 28 2 test(20637): unaligned trap at 0000000120002d84: 000000011f41b4aa 28 2 test(20637): unaligned trap at 0000000120002d84: 000000011f41b4aa 28 2 test(20637): unaligned trap at 0000000120002d84: 000000011f41b4aa 28 2 By hitting the unaligned trap, the performance of the program will be destroyed. The right answer is to write clean accessor functions to the mis-aligned data. I'll have a patch shortly that does exactly that. -- Steve McIntyre, Cambridge, UK. [EMAIL PROTECTED] "C++ ate my sanity" -- Jon Rabone
signature.asc
Description: Digital signature