Unaligned 64-bits access on FreeBSD/powerpc

Maxim Sobolev sobomax at FreeBSD.org
Thu Aug 3 18:34:46 UTC 2006

David Edelsohn wrote:
>>>>>> Maxim Sobolev writes:
> Maxim> I came over a problem that unaligned 64-bits access to a memory (via 
> Maxim> uint8_t or long long pointer) causes SIGBUS. Is it expected behavior or not?
> 	The kernel should catch and fixup any unaligned accesses that the
> hardware does not allow.

Well, actually *nix has a long history of just killing the program with 
SIGBUS in such case.

I am just wondering if it's really expected behavior on FreeBSD/powerpc 
or not.


More information about the freebsd-ppc mailing list