Re: Getting rid of alignment faults in userspace

2011-06-20 Thread Dave Martin
On Fri, Jun 17, 2011 at 03:23:49PM -0700, Steve Langasek wrote: > On Fri, Jun 17, 2011 at 01:10:11PM +0100, Dave Martin wrote: > > > For ARM, we can achieve the goal by augmenting the default kernel command- > > line options: either > > > alignment=3 > > Fix up each alingment fault, b

Re: Getting rid of alignment faults in userspace

2011-06-20 Thread Dave Martin
On Sat, Jun 18, 2011 at 10:48:16AM -0400, Nicolas Pitre wrote: > On Sat, 18 Jun 2011, Arnd Bergmann wrote: > > > On Friday 17 June 2011, Nicolas Pitre wrote: > > > On Fri, 17 Jun 2011, Arnd Bergmann wrote: > > > > On Friday 17 June 2011 14:10:11 Dave Martin wrote: > > > > > > > > > As part of the

Re: Getting rid of alignment faults in userspace

2011-06-20 Thread Dave Martin
On Sat, Jun 18, 2011 at 03:17:59PM -0400, Nicolas Pitre wrote: > On Sat, 18 Jun 2011, Arnaud Patard wrote: > > > Dave Martin writes: > > Hi, > > > > > Hi all, > > > > > > I've recently become aware that a few packages are causing alignment > > > faults on ARM, and are relying on the alignment fi

Re: Getting rid of alignment faults in userspace

2011-06-20 Thread Dave Martin
On Fri, Jun 17, 2011 at 11:53:21PM +0100, Paul Brook wrote: > > >> There is still going to be a small cost even in hardware fixup so this > > >> is very much worth solving despite it's "becoming invisible" because the > > >> chips are hiding / solving it already. > > > > > > But I believe that h/w

Re: Getting rid of alignment faults in userspace

2011-06-20 Thread Riku Voipio
On 18 June 2011 22:17, Nicolas Pitre 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 1