qemu-devel
[Top][All Lists]
Advanced

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

Re: Cross compiling 6.2.0 aarch64-softmmu for aarch64 host with musl, st


From: Adam Baxter
Subject: Re: Cross compiling 6.2.0 aarch64-softmmu for aarch64 host with musl, struct redefiniton errors
Date: Mon, 24 Jan 2022 14:36:27 +1100
User-agent: Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730

Hi Peter
I realise this might be a bit offtopic for this mailing list, but might help 
others searching for the same error message

> I think this must be a musl problem. Quoting the full error
> message:

Turns out this is actually related to the kernel (headers?) version - fixed in 
4.20

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=9966a05c7b80f075f2bc7e48dbb108d3f2927234


Where musl-cross-make is still using 4.19 by default, 
https://github.com/richfelker/musl-cross-make/blob/master/Makefile#L11

Bumping the kernel version allows qemu to build successfully.

Regards,
Adam



reply via email to

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