Getting rid of alignment faults in userspace

Riku Voipio riku.voipio at linaro.org
Mon Jun 20 08:17:21 UTC 2011


On 18 June 2011 22:17, Nicolas Pitre <nicolas.pitre at linaro.org> wrote:
> Turns out that a prominent ARM developer still has binaries from the
> ARMv3 era around, and the default of not fixing up misaligned user space
> accesses is for remaining compatible with them.

> So if you do have a version of glibc that is not from 15 years ago (that
> would have to be a.out and not ELF if it was) then you do not want to
> let misaligned accesses go through unfixed, otherwise you'll simply have
> latent data corruption somewhere.

Can we tie the alignment correction default to depend if a.out support is in the
kernel or not?

Riku



More information about the ubuntu-devel mailing list