Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
Re: [opensuse-buildservice] cross-compilation in OBS - analysis
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Fri, 30 Nov 2007 15:37:03 +0100
  • Message-id: <1196433423.26338.4.camel@xxxxxxxxxxxxxx>
Ulrich Hecht wrote:
On Wednesday 28 November 2007, Stanislav Brabec wrote:
2.2a.1a Use rpm --noscripts. Nobody knows, what will happen, but one
could expect, that the package will be still usable for compilation.
It is obvious, that the target sysroot will not be usable by emulators
directly.

2.2a.1b Use virtual host for installation. You will get a perfect
image of the target system, but it is expected to be much slower.

Obviously 2.2a.1a is the only acceptable solution.

Actually, all you need to do is to copy a QEMU userspace emulator into
the sysroot and set up binfmt_misc appropriately, and the scripts should
work just fine. There will of course be ways to break this, but usually
pre/post scripts do not do anything complicated or expensive.

It could work only for platforms, for which emulator exists.

It will cost about 95% of power. If you will use native icecream hosts
for parallel compilation, it will still cost about 80% of power (make
has to run natively, linker will probably run natively as well.

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups