On Sat, Feb 12, 2011 at 12:27 AM, Andi Kleen <a...@linux.intel.com> wrote: > >> I don't have any problems running a statically linked x86_64 >> helloworld program in an i386 chroot. Dynamically linked programs try >> to use wrong libraries, but at least running >> /lib64/ld-linux-x86-64.so.2 directly works. > > static binary segfaults too. I wonder if it's some setup on my system. > > I tried disabling the usual suspects like address randomization, but that > didn't change things. > Or could it be the compiler (gcc 4.5)?
I don't think so, but that could be ruled out. What happens if you try to run some known ld-linux-x86-64.so.2? The last blocks of qemu.log produced by using -d in_asm,out_asm could reveal something, please try.