public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] Final report for cross_container_support project
@ 2012-08-21 15:01 Jing Huang
  0 siblings, 0 replies; only message in thread
From: Jing Huang @ 2012-08-21 15:01 UTC (permalink / raw
  To: lu_zero, gentoo-soc

Hi,

This is my final report of my project.

The goals have been achieved:

1.	Get a lxc setup working
        a)	Prepare a simple script that generates a working normal lxc
container from a gentoo stage3
        b)	Update the LXC wiki page: http://wiki.gentoo.org/wiki/LXC

2.	Integrate the lxc and qemu-user
        a)	Make the script working for a qemu-user stage and create
the ARM chroot
        b)	Fix qemu-linux issues.
        The three patches have been accepted by the qemu community:
        * git commit aebf5bc727fa1837b3c5296c5325b560f19ed9ee
        * git commit 920394db819e30fbbfa527f25e45360061d1a220
        * git commit ca6190673c90e283897740b243f6508055c9de5a

3.	Find the way to run dynamic-linked host program in arm chroot
        a)	Investigate dynamic library linker
        b)	Replacing native packages over the qemu-user lxc

4.	Intergrate crossdev, lxc and qemu-user
       a)	Get accustomed to crossdev and update the wiki page:
http://wiki.gentoo.org/wiki/Cross_Container_Support_Project
       b)	Overriding GNU toolchain with native packages and run native
cross compiler in chroot
       c)	Automate the whole process in a script:
https://github.com/jinghuang/cross_container_support
       d)	Compare the results with emulated gcc with "time make -j2"
                test program: iputils-s20101006
                result: emulated gcc(19.813s) native cross gcc(1.379s)

                test: linux-kernel 3.6-rc2 (with same .config)
                result: emulated gcc(11m39.046s) native cross gcc(1m17.106s)


      My work also has some limits. The script doesn't support X86_64
and hardcods some gnu toolchain paths and gcc version. I will continue
to address these problems.

      I am thankful to the Gentoo Community and Luca for giving me the
chance to be a gentooer. It is very cool to do this project. This
project also gives me a very strong sense of achievement, especially
at the moment that the native cross gcc running in chroot. I believe I
can do as a hacker^_^


Jing.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-21 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 15:01 [gentoo-soc] Final report for cross_container_support project Jing Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox