Skip to content

speed is slow when use as cross-compile solution #176

Open
@furyNerd

Description

@furyNerd

Is this a bug report, feature (enhancement) request or question? (leave only one on its own line)

kind question

Description:

hi, i use qemu-user-static as a cross-compile solution, but found the time of compile consumed is average 2~5 times more than directly compile on the targe platform.
since i'm not familiar with qemu, my question is this normal or there is some way to speed up?

i do some search and found kvm is a relative topic, but looks like kvm only suitable for the same architecture of both host and target platform(e.g. both host and target are x86_64 platform), so can i have some brief answer for this question?

my host is ubuntu 20.04 lts with x86_64 cpu, and a docker of arm64v8/ubuntu for cross-compile for a arm64v8 target, before i use the cross-compile docker i run the lastest multiarch/qemu-user-static as demonstrated in readme.

any suggestion?thanks very much.

Steps to reproduce the issue:

as above

Describe the results you received:
as above

Describe the results you expected:
as above

Environment:
as above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions