From: Peter Maydell <peter.maydell@linaro.org>
To: Nigel Horne <njh@bandsman.co.uk>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
"Emilio G. Cota" <cota@braap.org>,
Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] Link error with github source
Date: Thu, 13 Jul 2017 13:57:54 +0100 [thread overview]
Message-ID: <CAFEAcA-8qNiyD3yfBS3EBq6rdB8oUcc7B9qeGp5KBQs7SggmAA@mail.gmail.com> (raw)
In-Reply-To: <f1a9dc49-40d8-828b-26fa-76261ee95fab@bandsman.co.uk>
On 13 July 2017 at 13:51, Nigel Horne <njh@bandsman.co.uk> wrote:
> The latest version in github fails to link (using gcc-7) with this error:
>
> LINK aarch64-softmmu/qemu-system-aarch64
> accel/tcg/cputlb.o: In function `helper_atomic_cmpxchgo_le_mmu':
> cputlb.c:(.text+0x5f3d): undefined reference to
> `__atomic_compare_exchange_16'
> accel/tcg/cputlb.o: In function `helper_atomic_cmpxchgo_be_mmu':
> cputlb.c:(.text+0x6000): undefined reference to
> `__atomic_compare_exchange_16'
> accel/tcg/cputlb.o: In function `helper_atomic_ldo_be_mmu':
> cputlb.c:(.text+0x602f): undefined reference to `__atomic_load_16'
> accel/tcg/cputlb.o: In function `helper_atomic_ldo_le_mmu':
> cputlb.c:(.text+0x5f73): undefined reference to `__atomic_load_16'
> accel/tcg/cputlb.o: In function `helper_atomic_sto_le_mmu':
> cputlb.c:(.text+0x5fa9): undefined reference to `__atomic_store_16'
> accel/tcg/cputlb.o: In function `helper_atomic_sto_be_mmu':
> cputlb.c:(.text+0x607f): undefined reference to `__atomic_store_16'
> collect2: error: ld returned 1 exit status
> Makefile:197: recipe for target 'qemu-system-aarch64' failed
> make[1]: *** [qemu-system-aarch64] Error 1
> Makefile:328: recipe for target 'subdir-aarch64-softmmu' failed
> make: *** [subdir-aarch64-softmmu] Error 2
Emilio's recent-ish change (commit f3ced3c5928) maybe?
Nigel -- what host architecture are you building for?
thanks
-- PMM
next prev parent reply other threads:[~2017-07-13 12:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 12:51 [Qemu-devel] Link error with github source Nigel Horne
2017-07-13 12:57 ` Peter Maydell [this message]
2017-07-13 12:59 ` Nigel Horne
2017-07-13 13:25 ` Philippe Mathieu-Daudé
2017-07-13 13:34 ` Nigel Horne
2017-07-13 13:41 ` Nigel Horne
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=CAFEAcA-8qNiyD3yfBS3EBq6rdB8oUcc7B9qeGp5KBQs7SggmAA@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=cota@braap.org \
--cc=njh@bandsman.co.uk \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).