> On Jan 25, 2018, at 11:16 AM, Peter Maydell <email address hidden> wrote:
>
> On 25 January 2018 at 15:58, John Arbuckle <email address hidden> wrote:
>> I did try to build at commits 306ec6c3cece7004429c79c1ac93d49919f1f1cc
>> and e689f7c668cbd9d08f330e17c3dd3a059c9553d3. Both failed to build on my
>> Mac OS X system. Here is the error message I usually saw:
>>
>> LINK qemu-io
>> Undefined symbols for architecture x86_64:
>> "_use_rt_clock", referenced from:
>> _bdrv_acct_start in block.o
>> _bdrv_acct_done in block.o
>> Undefined symbols for architecture x86_64:
>> _qemu_clock_get_ns in qemu-timer.o
>> "_use_rt_clock", referenced from:
>> _bdrv_acct_start in block.o
>> _bdrv_acct_done in block.o
>> _qemu_clock_get_ns in qemu-timer.o
>
> If you configure with --disable-tools does it manage to build,
> or does it just go on to fail to link the main QEMU binary
> with the same error? (We've had some issues in the past I think
> where configure put libraries on the main binary link line but
> not on the tools link lines, so maybe worth a try...)
>
> thanks
> -- PMM
>
It still fails to build:
Build commands: ./configure --disable-tools --target-list=i386-softmmu && make -j 4
QEMU at commit: 306ec6c3cece7004429c79c1ac93d49919f1f1cc
LINK i386-softmmu/qemu-system-i386
Undefined symbols for architecture x86_64:
"_use_rt_clock", referenced from:
_bdrv_acct_start in block.o
_bdrv_acct_done in block.o
_qemu_clock_get_ns in qemu-timer.o
_cpu_get_clock in cpus.o
_cpu_enable_ticks in cpus.o
_cpu_disable_ticks in cpus.o
_icount_warp_rt in cpus.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [qemu-system-i386] Error 1
make: *** [subdir-i386-softmmu] Error 2
> On Jan 25, 2018, at 11:16 AM, Peter Maydell <email address hidden> wrote: 4429c79c1ac93d4 9919f1f1cc 08f330e17c3dd3a 059c9553d3. Both failed to build on my
>
> On 25 January 2018 at 15:58, John Arbuckle <email address hidden> wrote:
>> I did try to build at commits 306ec6c3cece700
>> and e689f7c668cbd9d
>> Mac OS X system. Here is the error message I usually saw:
>>
>> LINK qemu-io
>> Undefined symbols for architecture x86_64:
>> "_use_rt_clock", referenced from:
>> _bdrv_acct_start in block.o
>> _bdrv_acct_done in block.o
>> Undefined symbols for architecture x86_64:
>> _qemu_clock_get_ns in qemu-timer.o
>> "_use_rt_clock", referenced from:
>> _bdrv_acct_start in block.o
>> _bdrv_acct_done in block.o
>> _qemu_clock_get_ns in qemu-timer.o
>
> If you configure with --disable-tools does it manage to build,
> or does it just go on to fail to link the main QEMU binary
> with the same error? (We've had some issues in the past I think
> where configure put libraries on the main binary link line but
> not on the tools link lines, so maybe worth a try...)
>
> thanks
> -- PMM
>
It still fails to build:
Build commands: ./configure --disable-tools --target- list=i386- softmmu && make -j 4
QEMU at commit: 306ec6c3cece700 4429c79c1ac93d4 9919f1f1cc
LINK i386-softmmu/ qemu-system- i386 bdrv_acct_ start in block.o bdrv_acct_ done in block.o qemu_clock_ get_ns in qemu-timer.o cpu_get_ clock in cpus.o cpu_enable_ ticks in cpus.o cpu_disable_ ticks in cpus.o icount_ warp_rt in cpus.o i386-softmmu] Error 2
Undefined symbols for architecture x86_64:
"_use_rt_clock", referenced from:
_
_
_
_
_
_
_
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [qemu-system-i386] Error 1
make: *** [subdir-