On Thursday 23 March 2006 08:15, David Lang wrote:
> On Thu, 23 Mar 2006, Blaisorblade wrote:
> > On Thursday 23 March 2006 00:55, David Lang wrote:

> > That's _required_ but not enough; to run a 32-bit UML binary you _need_
> > that support on the host.

> yep, I didn't realize it was missing before this test.
>
> shouldn't there be a way to turn on this ability on a UML kernel? (so that
> it can run a mixed 32/64 userspace)

Yes, it should. Yes, we should code it. We deferred it since for now it's 
simpler to let user use 32-bit kernels.

> > Btw, you can also download pre-built UML binaries from my homepage (see
> > signature), and this is useful even to determine what's going on (e.g.
> > say that binary work, your one doesn't, let's compare configurations! Or
> > a couple of months ago the answer was "let's blame this GCC", but this
> > story is now old).

> sorry, I've been building cusom kernels too long.

That's not a bad thing, but I know that's not often known.

> > It's ages I don't build a 32-bit binary on a 32-bit system. Simply
> > replace "ARCH=um" with "ARCH=um SUBARCH=i386" in all the configuration
> > commands. However, this presumes that libs to link/run 32-bit programs
> > are installed.
>
> thanks, I hadn't known about SUBARCH before this.

> unfortunantly it doesn't seem to work for me

Ok, that's because you need 32-bit headers and a multilib setup (if I compile 
with -m32, it auto-selects 32-bit headers for things like /usr/include/bits 
and /usr/include/asm; you don't have this setup so it's not recognizing 
32-bit register name macros). You can either install the support (if it 
exists on Debian, I recall there were problems in doing this) or do the 
compilation in the 32-bit chroot with static linking and bring it on the 
host.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

                
___________________________________ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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