On Friday 15 September 2006 19:09, Jeff Dike wrote:
> On Fri, Sep 15, 2006 at 01:09:15AM +0100, Antoine Martin wrote:
> > I thought it might be GCC 4.1, so I tried 2 things:
> > * build with gcc 3.4 on another host
> > * switch to gcc 3.4 on that system for the kernel build
> > The resulting (statically linked) kernel runs fine on x86 but not at all
> > on the amd64 hosts:
> > (..)
> > UML running in SKAS0 mode
> > remove_umid_dir - actually_do_remove failed with err = -2
>
> Add stderr=1 to the command line and see what happens.
>
> Also, if a 32-bit binary behaves differently on a 64-bit system than a
> 32-bit one, I would say that's a bug in the 32-bit emulation on the
> host.

There's at least one detail which works differently, even though it shouldn't 
be related - TLS support.
One constant, i.e. the base value of user_desc->entry_number) changes value 
from x86 to x86_64 (I had to cope with this when writing TLS support).
Most applications (i.e. glibc, but UML can't, so I fighted with this) 
determine it at runtime, even if nobody warns against specifying it.

Verify if dynamic linking helps at all - if something such is involved and the 
constant is linked in when linking with glibc, this would help.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to