lkml.org 
[lkml]   [2005]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.13-mm1 X86_64: All 32bit programs segfault
Date
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-08 11:32    [from the cache]
©2003-2011 Jasper Spaans