Re: 2.6.13-mm1 X86_64: All 32bit programs segfault

Andi Kleen
2005-09-08T08:58:33Z

On Thursday 08 September 2005 10:44, Andrew Morton wrote:
> Parag Warudkar <kernel-stuff@comcast.net> wrote:
> > Andi Kleen wrote:
> > >Hmm - not many x86-64 patches in mm1. 2.6.13 definitely works.
> >
> > 2.6.13-git7 works. So something in -mm has gone bad (if not x86_64, may
> > be i386 or arch-independent changes?)
> > It seems it has got something to do with the sys_set_tid_address as
> > evident from the strace output below.
> > Another thing - If I set LD_ASSUME_KERNEL=2.4 and then run the binary,
> > it works fine.
>
> I can't reproduce this with the current -mm lineup. I compiled up a 32-bit
> app on x86 and transferred that across.

Did you use a threaded program? It appears to be related to that.

(BTW you can compile 32bit on 64bit too by passing -m32)

-Andi