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: K. Richard Pixley
Subject: Re: [Qemu-devel] qemu & arm eabi (armel)
Date: Wed, 27 Sep 2006 10:51:19 -0700
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Paul Brook wrote:
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).
  
Done.
- Try configuring qemu with --static. The default (building qemu as a shared 
library) seems to cause strange problems on many systems.
  
Done.
- Make sure uname -r reports at least 2.6.16 (qemu can lie for you).
  
Ah.  Hm..  ubuntu-5 is currently:

address@hidden> uname -a
Linux svrpixleylnx 2.6.12-10-686-smp #1 SMP Tue Jul 18 23:03:01 UTC 2006 i686 GNU/Linux

Do you know why 2.6.16 would be required?  (I'll see if I can't find/build a 2.6.16 system on which to try it today.)

--rich

reply via email to

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