Re: RFC: static builds for user emulators in Fedora QEMU RPMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/29/2016 12:03 PM, Daniel P. Berrange wrote:
Debian handles this by having several packages [1]

 - qemu-user - the dynamic linked qemu user binaries
 - qemu-binfmt - binfmt rules registering the dynamic linked binaries
 - qemu-user-static - the static linked qemu user binaries *and* binfmt
                      rules to register them. The static binaries all
		      have -static suffix on their name

Debian builds static libraries and puts them into their -dev packages. Fedora does not do this systematically. Are all the static libraries you need actually available in Fedora?

An alternative would be to bind-mount the real file system into the chroot and run the native dynamic linker with a --library-path command line argument that specifies the library directories in the bind mount. (It's reasonable to specify --inhibit-cache as well.) This would need some adjustments in the binfmt wrapper.

Florian
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux