On 23/03/12 04:16, Brian Harring wrote:
> On Fri, Mar 23, 2012 at 01:46:17PM +0300, Alexey Shvetsov wrote:
>> Hi!
>>
>> Well i have 2 arm lxc containers on amd64 machine. Its works good if 
>> qemu support most of needed cross arch instructions
> 
> I'd be curious how much of that is native, vs emulated.   The hybrid 
> approach of scratchbox/obs has some definite gains.
> 
> If we had a clean way to mark which can be native (toolchain), the 
> perf gain is definitely worth the work...

the rough part is mostly making so portage knows the paths and have the
bind-mount game working, the alternative way is to build the native part
by unpacking the cross packages and the build system packages there


so

/ <- emulated
/etc/ld.so.conf.d/native
/usr/${nativehost}/
/usr/${emulatedhost}/

and then you need to trick portage a bit

Sounds gory already? =)

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero


Reply via email to