Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 431214

Summary: dev-util/catalyst: add qemu support
Product: Gentoo Hosted Projects Reporter: Cédric Caron <cedric.caron>
Component: CatalystAssignee: Gentoo Catalyst Developers <catalyst>
Severity: enhancement CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 429626    
Bug Blocks:    
Attachments: qemu patch
qemu-binfmt wrapper
qemu patch v2

Description Cédric Caron 2012-08-13 12:54:32 UTC
This patch a QEMU option to cross compile stage

Reproducible: Always
Comment 1 Cédric Caron 2012-08-13 12:58:24 UTC
Created attachment 321204 [details, diff]
qemu patch

First version os the patch.

Known isues:

the cross compiler test need to be modified to disable qemu when corss compilling x86 on amd64

This patch compile a set of static native binaries. this list is hard-coded.
Comment 2 Cédric Caron 2012-08-13 13:00:00 UTC
Created attachment 321206 [details, diff]
qemu-binfmt wrapper

Modified qemu wrapper to run native binaries when available.

Need to be compiled with -static
Comment 3 Cédric Caron 2012-08-16 21:52:46 UTC
Created attachment 321520 [details, diff]
qemu patch v2

Updated patch

Remove the crossdir directory at the end of the process
Comment 4 Matt Turner gentoo-dev 2020-10-15 17:19:02 UTC
We've implemented this with and are using it to build RISC-V stages.

Let us know if this isn't what you had in mind.