All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 4/8] disas: Support the Capstone disassembler library
Date: Wed, 20 Sep 2017 12:17:45 +0100	[thread overview]
Message-ID: <87y3p9d3fq.fsf@linaro.org> (raw)
In-Reply-To: <20170919150313.10833-5-richard.henderson@linaro.org>


Richard Henderson <richard.henderson@linaro.org> 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 <richard.henderson@linaro.org>

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'
/home/alex/lsrc/qemu/qemu.git/disas.c:210: undefined reference to `cs_option'
/home/alex/lsrc/qemu/qemu.git/disas.c:214: undefined reference to `cs_malloc'
/home/alex/lsrc/qemu/qemu.git/disas.c:216: undefined reference to `cs_close'
/home/alex/lsrc/qemu/qemu.git/disas.c:206: undefined reference to `cs_option'
disas.o: In function `cap_disas_target':
/home/alex/lsrc/qemu/qemu.git/disas.c:244: undefined reference to `cs_disasm_iter'
/home/alex/lsrc/qemu/qemu.git/disas.c:272: undefined reference to `cs_close'
disas.o: In function `cap_disas_host':
/home/alex/lsrc/qemu/qemu.git/disas.c:292: undefined reference to `cs_disasm_iter'
/home/alex/lsrc/qemu/qemu.git/disas.c:304: undefined reference to `cs_close'
collect2: error: ld returned 1 exit status
Makefile:199: recipe for target 'qemu-tilegx' failed
make[1]: *** [qemu-tilegx] Error 1
make[1]: Target 'all' not remade because of errors.
Makefile:326: recipe for target 'subdir-tilegx-linux-user' failed
make: *** [subdir-tilegx-linux-user] Error 2
  LINK    x86_64-linux-user/qemu-x86_64

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 <ubuntu-devel-discuss@lists.ubuntu.com>
    Architecture: amd64
    Source: capstone
    Version: 3.0.4-0.2
    Depends: libcapstone3 (= 3.0.4-0.2)
    Description: lightweight multi-architecture disassembly framework - devel files
     Capstone is a lightweight multi-platform, multi-architecture disassembly
     framework.


--
Alex Bennée

  reply	other threads:[~2017-09-20 13:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 15:03 [Qemu-devel] [PATCH v2 0/8] Support the Capstone disassembler Richard Henderson
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 1/8] target/i386: Convert to disas_set_info hook Richard Henderson
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 2/8] target/ppc: " Richard Henderson
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 3/8] disas: Remove unused flags arguments Richard Henderson
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 4/8] disas: Support the Capstone disassembler library Richard Henderson
2017-09-20 11:17   ` Alex Bennée [this message]
2017-09-20 13:04     ` Richard Henderson
2017-09-20 21:06     ` Richard Henderson
2017-09-26 18:20   ` Richard Henderson
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 5/8] i386: Support Capstone in disas_set_info Richard Henderson
2017-09-21 14:49   ` Alex Bennée
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 6/8] arm: " Richard Henderson
2017-09-26  0:08   ` Alex Bennée
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 7/8] ppc: " Richard Henderson
2017-09-19 15:03 ` [Qemu-devel] [PATCH v2 8/8] disas: Remove monitor_disas_is_physical Richard Henderson
2017-09-26 13:45   ` Alex Bennée
2017-09-19 16:06 ` [Qemu-devel] [PATCH v2 0/8] Support the Capstone disassembler no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3p9d3fq.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.