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

From: Andi Kleen
Date: Thu Sep 08 2005 - 03:59:01 EST


On Thursday 08 September 2005 10:44, Andrew Morton wrote:
> Parag Warudkar <kernel-stuff@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/