[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 4/8] disas: Support the Capstone disassembler
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2 4/8] disas: Support the Capstone disassembler library |
Date: |
Wed, 20 Sep 2017 08:04:26 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/20/2017 06:17 AM, Alex Bennée wrote:
>
> Richard Henderson <address@hidden> writes:
>
>> If configured, prefer this over our rather dated copy of the
>> GPLv2-only binutils. This will be especially apparent with
>> the proposed vector extensions to TCG, as disas/i386.c does
>> not handle AVX.
>>
>> Signed-off-by: Richard Henderson <address@hidden>
>
> Hmm I get a link failure:
>
> LINK tilegx-linux-user/qemu-tilegx
> disas.o: In function `cap_disas_start':
> /home/alex/lsrc/qemu/qemu.git/disas.c:196: undefined reference to `cs_open'
I'm going to assume that this isn't the first executable to be linked, and
therefore it's weirder than what I imagine.
> I wonder if this is a version thing?
>
> Package: libcapstone-dev
> Status: install ok installed
> Priority: optional
> Section: libdevel
> Installed-Size: 4079
> Maintainer: Ubuntu Developers <address@hidden>
> Architecture: amd64
> Source: capstone
> Version: 3.0.4-0.2
No, I've got capstone-devel-3.0.4-8.fc26.x86_64.
The only thing I can imagine is that you didn't start from a fresh build tree
and something went wrong during re-configure.
r~
- Re: [Qemu-devel] [PATCH v2 5/8] i386: Support Capstone in disas_set_info, (continued)
- [Qemu-devel] [PATCH v2 1/8] target/i386: Convert to disas_set_info hook, Richard Henderson, 2017/09/19
- [Qemu-devel] [PATCH v2 7/8] ppc: Support Capstone in disas_set_info, Richard Henderson, 2017/09/19
- [Qemu-devel] [PATCH v2 6/8] arm: Support Capstone in disas_set_info, Richard Henderson, 2017/09/19
- [Qemu-devel] [PATCH v2 3/8] disas: Remove unused flags arguments, Richard Henderson, 2017/09/19
- [Qemu-devel] [PATCH v2 8/8] disas: Remove monitor_disas_is_physical, Richard Henderson, 2017/09/19
- [Qemu-devel] [PATCH v2 4/8] disas: Support the Capstone disassembler library, Richard Henderson, 2017/09/19
- Re: [Qemu-devel] [PATCH v2 0/8] Support the Capstone disassembler, no-reply, 2017/09/19