[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Architectures where unaligned access is (not) OK?



* Riku Voipio <riku.voipio@iki.fi>, 2014-11-24, 11:07:
Sparc is definitely not ok. For evidence, see #721617, liblo was trying to fetch a double from a 4-byte aligned address. Experience with liblo shows that other architectures are just fine (or at least are just slower) with this type of unalignment.

IME, sprac buildds are the only ones where where unaligned access in a build-time test suite triggers SIGBUS/SIGSEGV.

On armel and armhf you can enable SIGBUS on unaligned access with:

echo 4 > /proc/cpu/alignment

Can we get this enabled on buildds?

--
Jakub Wilk


Reply to: