Il 02/11/2012 10:54, Peter Maydell ha scritto:
> Building on MacOS with clang has broken:
> 
> qmp.c:474:1: error: only weak aliases are supported on darwin
> QEMU_WEAK_ALIAS(arch_query_cpu_definitions, 
> default_arch_query_cpu_definitions);
> ^
> ./compiler.h:54:54: note: expanded from macro 'QEMU_WEAK_ALIAS'
>         typeof(oldname) newname __attribute__((weak, alias (#oldname)))
>                                                      ^
> 1 error generated.
> 
> 
> Looks like commit 67d223be is the culprit (and QEMU_WEAK_ALIAS
> isn't actually generated weak aliases?)

It's a bad error message.  It should be "only weakref aliases are
supported on Darwin", apparently.

It can be fixed, I'm testing a patch but it will have to wait for after
KVM Forum.

BTW, since I read disagreeing reports on this, can you check if Darwin
has sem_timedwait?

Paolo


Reply via email to