Gentoo Archives: gentoo-soc

From: Luca Barbato <lu_zero@g.o>
To: Jing Huang <jing.huang.pku@×××××.com>
Cc: gentoo-soc <gentoo-soc@l.g.o>
Subject: [gentoo-soc] Re: [GSoC2012] Cross Container Support Project
Date: Fri, 23 Mar 2012 18:14:23
In Reply to: [gentoo-soc] [GSoC2012] Cross Container Support Project by Jing Huang
1 On 23/03/12 03:36, Jing Huang wrote:
2 > 1). Why integrate qemu-user container with crossdev? Crossdev is a cross compiler.
3 > The qemu-user container not only compiles the heterogeneous programs but
4 > also tests them. I thought if the qemu-user container was good enough,
5 > it could replace the crossdev.
7 qemu is slow, crossdev-generated toolchain is fast.
9 > 2). "An additional task is to support layered systems so native userspace
10 > can be used to further speed up the process (hybrid chroot)."
11 > I don't very understand the task. Could someone help me and explain the
12 > “hybrid chroot”?
14 You can mix and match binaries as long you do the right thing with
15 So you can have the crossdev-generated gcc for the emulated
16 targed run inside the chroot and thus fool the broken build systems not
17 supporting sanely cross compilation (as in anything but autotools to use
18 a broad generalization, people in love with scons, waf and cmake can try
19 to fix that, I gave up and I ended up running qemu-user-static
20 specifically for those programs, perl and python)
22 lu
24 --
26 Luca Barbato
27 Gentoo/linux