I added Ubuntu 12.04 'precise' based sysroots to Jenkins yesterday. They are built using 'armhf' architecture and available in three flavours:
- alip - nano - ubuntu-desktop
So far only -dev ones are present, will work on -dbg ones soon.
We have 'nano' one built and available to fetch at http://snapshots.linaro.org/precise/images/nano-dev/ - rest will be built when there will be machine free to do that.
They will also be moved to http://snapshots.linaro.org/precise/sysroots/ to not make people try to boot them ;)
Please take a look do they work as you want and tell me what kind of changes you would like to have, which images are not needed, which should be added. Are there any users for -dbg style sysroots?
On 24 April 2012 21:03, Marcin Juszkiewicz marcin.juszkiewicz@canonical.com wrote:
I added Ubuntu 12.04 'precise' based sysroots to Jenkins yesterday. They are built using 'armhf' architecture and available in three flavours:
- alip
- nano
- ubuntu-desktop
So far only -dev ones are present, will work on -dbg ones soon.
We have 'nano' one built and available to fetch at http://snapshots.linaro.org/precise/images/nano-dev/ - rest will be built when there will be machine free to do that.
They will also be moved to http://snapshots.linaro.org/precise/sysroots/ to not make people try to boot them ;)
Please take a look do they work as you want and tell me what kind of changes you would like to have, which images are not needed, which should be added. Are there any users for -dbg style sysroots?
Hi Marcin. I've had a look at nano-dev. Please: * Change the top directory from binary/boot/filesystem.dir/ to libc/ * Remove etc * Remove sbin, bin, usr/bin, usr/sbin * Remove most under var * Remove usr/local? * Reinstate the symlinks - /lib/libply.so should symlink to /lib/libply.so.2 should symlink to /lib/libply.so.2.0.0 etc * Remove empty directories like usr/games * Drop all compiler supplied packages including libgcc libstdc++6 libmudflap
I don't know what to do about usr/share. Most of it isn't need for cross compiling and should be deleted.
Note that it becomes a build root only. You can't use it as a Scratchbox build and target root.
I'd like the sysroot in one tarball and the debug symbols in another. The end user can grab the default sysroot and then, if they want to, add the debug symbols for deeper debugging later.
Could I also have a minimal sysroot that just has libc6 libc6-dev libc6-dbg linux-libc-dev and zlib1g? We'll ship that with the binary compiler. An example is here: http://people.linaro.org/~michaelh/incoming/precise-sysroot-armhf-r0.tar.bz2
which was built using the hack: http://bazaar.launchpad.net/~linaro-toolchain-dev/crosstool-ng/linaro/view/h...
-- Michael
W dniu 27.04.2012 03:30, Michael Hope pisze:
Hi Marcin. I've had a look at nano-dev. Please:
- Change the top directory from binary/boot/filesystem.dir/ to libc/
Will do.
- Remove etc
- Remove sbin, bin, usr/bin, usr/sbin
- Remove most under var
- Remove usr/local?
- Remove empty directories like usr/games
done locally
- Reinstate the symlinks - /lib/libply.so should symlink to
/lib/libply.so.2 should symlink to /lib/libply.so.2.0.0 etc
We discussed before that symlinks were to be removed due to MS Windows. Will revert.
- Drop all compiler supplied packages including libgcc libstdc++6 libmudflap
done
I don't know what to do about usr/share. Most of it isn't need for cross compiling and should be deleted.
will check
I'd like the sysroot in one tarball and the debug symbols in another. The end user can grab the default sysroot and then, if they want to, add the debug symbols for deeper debugging later.
Ok, doable. No precise -dbg images for now yet.
Could I also have a minimal sysroot that just has libc6 libc6-dev libc6-dbg linux-libc-dev and zlib1g? We'll ship that with the binary compiler. An example is here: http://people.linaro.org/~michaelh/incoming/precise-sysroot-armhf-r0.tar.bz2
which was built using the hack: http://bazaar.launchpad.net/~linaro-toolchain-dev/crosstool-ng/linaro/view/h...
In progress
W dniu 30.04.2012 13:45, Marcin Juszkiewicz pisze:
W dniu 27.04.2012 03:30, Michael Hope pisze:
Could I also have a minimal sysroot that just has libc6 libc6-dev libc6-dbg linux-libc-dev and zlib1g? We'll ship that with the binary compiler. An example is here: http://people.linaro.org/~michaelh/incoming/precise-sysroot-armhf-r0.tar.bz2 which was built using the hack: http://bazaar.launchpad.net/~linaro-toolchain-dev/crosstool-ng/linaro/view/h...
http://snapshots.linaro.org/precise/sysroots/libc-dev/ has initial version. Need to fix symlinks to be relative.
On 30 April 2012 23:45, Marcin Juszkiewicz marcin.juszkiewicz@canonical.com wrote:
W dniu 27.04.2012 03:30, Michael Hope pisze:
Hi Marcin. I've had a look at nano-dev. Please: * Change the top directory from binary/boot/filesystem.dir/ to libc/
Will do.
* Remove etc * Remove sbin, bin, usr/bin, usr/sbin * Remove most under var * Remove usr/local? * Remove empty directories like usr/games
done locally
* Reinstate the symlinks - /lib/libply.so should symlink to /lib/libply.so.2 should symlink to /lib/libply.so.2.0.0 etc
We discussed before that symlinks were to be removed due to MS Windows. Will revert.
Ta. Zip automatically converts symlinks into a copy of the file so we're covered there.
-- Michael
linaro-toolchain@lists.linaro.org