development packages and multilib

Daniel P. Berrange berrange at redhat.com
Mon Apr 27 08:47:29 UTC 2009


On Sun, Apr 26, 2009 at 08:09:28AM +0200, Kevin Kofler wrote:
> Matthew Woehlke wrote:
> > Our requirements are that one build environment produces one package
> > containing both 32- and 64-bit binaries.
> 
> If you're talking about RPM packages, that's completely broken, an x86_64
> RPM is supposed to only contain x86_64 stuff (and it won't install on
> 32-bit systems), and an i386 RPM definitely must not contain 64-bit stuff.

As Rich mentions, there's a tricky situation with virtualization around,
and with cross-compilation/emulation.  For QEMU we've had to jump through
some nasty hoops to build the firmware/BIOS files. ie, the QEMU i686
emulator is built on all Fedora archs, but building the BIOS files to
actually make it work needs an i686 host. So we have to build on one
arch, get the built blobs and then include these pre-built files in a
second build done for the non-x86 archs. Similar fun building PPC, sparc
blobs on i686, etc. 


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the fedora-devel-list mailing list