qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu & arm eabi (armel)


From: Paul Brook
Subject: Re: [Qemu-devel] qemu & arm eabi (armel)
Date: Tue, 26 Sep 2006 23:30:41 +0100
User-agent: KMail/1.9.4

On Tuesday 26 September 2006 23:14, K. Richard Pixley wrote:
> Ok, then I'm confused because I'm seeing dumps just trying to run a null
> program.  Unless there's NPTL setup stuff in crt0, I can't guess what
> might be going on yet.  This same null binary runs on a qemu-system with
> suitable rootfs & kernel.

The glibc startup code contains TLS initialisation that will fail on unpatched 
qemu. If you have applied the TLS patch there are a couple of other things 
that could cause problems:

- Make sure it's picking up the correct target shared libraries (or link your 
test application statically).
- Try configuring qemu with --static. The default (building qemu as a shared 
library) seems to cause strange problems on many systems.
- Make sure uname -r reports at least 2.6.16 (qemu can lie for you).

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]