Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431214 - dev-util/catalyst: add qemu support
Summary: dev-util/catalyst: add qemu support
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Catalyst Developers
Depends on: 429626
  Show dependency tree
Reported: 2012-08-13 12:54 UTC by Cédric Caron
Modified: 2020-10-15 17:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

qemu patch (catalyst-qemu.diff,5.85 KB, patch)
2012-08-13 12:58 UTC, Cédric Caron
Details | Diff
qemu-binfmt wrapper (qemu-binfmt.c,1.82 KB, patch)
2012-08-13 13:00 UTC, Cédric Caron
Details | Diff
qemu patch v2 (catalyst-qemu.diff,5.98 KB, patch)
2012-08-16 21:52 UTC, Cédric Caron
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.