From: Kenneth Adam Miller <kennethadammiller@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: Error in accel/tcg?
Date: Tue, 20 Jul 2021 11:06:36 -0400 [thread overview]
Message-ID: <CAK7rcp-Hb-ms6EUh6tGcWwq9BS9bO9StPLuDnBsDd2snuhsQCw@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA-Dmof7gi9MRxjo0FcYN8ZW0NTKi2+SAgO1V8-VMndN-A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]
I saw that TARGET_PAGE_SIZE gets a value that depends on TARGET_PAGE_BITS
using tags and grep, but I did not see either of them take a value that is
beyond the idxmap size.
On Tue, Jul 20, 2021 at 5:07 AM Peter Maydell <peter.maydell@linaro.org>
wrote:
> On Mon, 19 Jul 2021 at 23:20, Kenneth Adam Miller
> <kennethadammiller@gmail.com> wrote:
> >
> > Hello,
> >
> > I get the following error:
> >
> > <long cmd here> -c ../accel/tcg/cputlb.c
> > ../qemu/accel/tcg/cputlb.c: In function 'tlb_flush_page_by_mmuidx':
> > ../qemu/accel/tcg/cputlb.c:602:23: error: comparison is always true due
> to limited range of data type [-Werror=type-limits]
> > } else if (idxmap < TARGET_PAGE_SIZE) {
> >
> > I don't know why that suddenly shows up.
>
> So, which target are you building for, which host, and which
> compiler version? (TARGET_PAGE_SIZE gets a value that depends
> on the TARGET_PAGE_BITS setting for the target.)
>
> > In other parts of the code, I think somehow the meson build system
> >is triggering errors for warnings
>
> The QEMU build system defaults to warnings-are-errors when
> building from git. You can turn this off by passing
> configure '--disable-werror'. (Note that that's a bad idea if
> you're working on the QEMU source code, because you want to
> be able to see and fix the warnings in the code you're working on.)
>
> thanks
> -- PMM
>
[-- Attachment #2: Type: text/html, Size: 1895 bytes --]
prev parent reply other threads:[~2021-07-20 15:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-19 22:18 Error in accel/tcg? Kenneth Adam Miller
2021-07-20 9:06 ` Peter Maydell
2021-07-20 15:06 ` Peter Maydell
2021-07-20 15:07 ` Peter Maydell
2021-07-20 15:13 ` Kenneth Adam Miller
2021-07-20 15:21 ` Peter Maydell
2021-07-20 15:06 ` Kenneth Adam Miller [this message]
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=CAK7rcp-Hb-ms6EUh6tGcWwq9BS9bO9StPLuDnBsDd2snuhsQCw@mail.gmail.com \
--to=kennethadammiller@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.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 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).