qemu-devel
[Top][All Lists]
Advanced

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

Cross compiling 6.2.0 aarch64-softmmu for aarch64 host with musl, struct


From: Adam Baxter
Subject: Cross compiling 6.2.0 aarch64-softmmu for aarch64 host with musl, struct redefiniton errors
Date: Sun, 23 Jan 2022 19:52:34 +1100
User-agent: Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730

Hi,

I'm trying to compile qemu 6.2.0 using musl-cross.

I am getting the following errors on make:

/output/aarch64-linux-musl/include/asm/sigcontext.h:83:8: error: redefinition 
of 'struct esr_context'
/output/aarch64-linux-musl/include/asm/sigcontext.h:116:8: error: redefinition 
of 'struct extra_context'
/output/aarch64-linux-musl/include/asm/sigcontext.h:125:8: error: redefinition 
of 'struct sve_context'

I have made a few hacks to make it build statically, I do not believe this is 
causing this particular issue.

Attached are the logs and Dockerfile I'm using.

Is this a musl issue or a qemu issue?

Thanks,
Adam

Attachment: Dockerfile
Description: Binary data

Attachment: qemu-make.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]