qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PULL 00/11] Misc changes for 2016-06-06
Date: Mon, 6 Jun 2016 20:14:25 +0100	[thread overview]
Message-ID: <CAFEAcA-+EtJvpYPT5Xi7dke1734qNUSjmj2D40qYZbqFR_pSSw@mail.gmail.com> (raw)
In-Reply-To: <1465234520-11160-1-git-send-email-pbonzini@redhat.com>

On 6 June 2016 at 18:35, Paolo Bonzini <pbonzini@redhat.com> wrote:
> The following changes since commit 76462405809d29bab65a3699686998ba124ab942:
>
>   Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160606-1' into staging (2016-06-06 17:02:42 +0100)
>
> are available in the git repository at:
>
>   git://github.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to ada3d3ba63016bcd33c42f84bcc982a249768e36:
>
>   avx2 configure: Use primitives in test (2016-06-06 19:18:34 +0200)
>
> ----------------------------------------------------------------
> * max-ram-below-4g improvement (Gerd)
> * escc fix (xiaoqiang)
> * ESP fix (Prasad)
> * scsi-disk tweaks/fix (me)
> * PKGVERSION improvement (Fam)
> * -vnc man improvement (Robert)
> * AVX2 configure fixes (Dave)

Hi. I'm afraid this fails to build for me (x86-64 Linux, gcc).

I think this is the "trying to use the #pragma target("avx2") doesn't
work under ccache" problem again. (configure tests run not under ccache,
but the build proper does.) See
https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg05298.html
from last time we tried this...

Possibly it's just that you deleted the "requires gcc 4.9" check with
the comment that says "this doesn't work with older gcc", so now
we're again trying to do this on the older gcc where it doesn't work ;-)

Compiler errors below.


/home/petmay01/linaro/qemu-for-merges/util/cutils.c: In function
‘can_use_buffer_find_nonzero_offset_avx2’:
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:275:29: error:
‘__m256i’ undeclared (first use in this function)
                    * sizeof(AVX2_VECTYPE)) == 0
                             ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:275:29: note: each
undeclared identifier is reported only once for each function it
appears in
/home/petmay01/linaro/qemu-for-merges/util/cutils.c: In function
‘buffer_find_nonzero_offset_avx2’:
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:281:5: error:
unknown type name ‘__m256i’
     const AVX2_VECTYPE *p = buf;
     ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:282:5: error:
unknown type name ‘__m256i’
     const AVX2_VECTYPE zero = (AVX2_VECTYPE){0};
     ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:282:27: error:
‘__m256i’ undeclared (first use in this function)
     const AVX2_VECTYPE zero = (AVX2_VECTYPE){0};
                           ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:282:35: error:
expected ‘,’ or ‘;’ before ‘{’ token
     const AVX2_VECTYPE zero = (AVX2_VECTYPE){0};
                                   ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:292:9: error:
implicit declaration of function ‘_mm256_movemask_epi8’
[-Werror=implicit-function-declaration]
         if (!AVX2_ALL_EQ(p[i], zero)) {
         ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:292:9: error:
nested extern declaration of ‘_mm256_movemask_epi8’
[-Werror=nested-externs]
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:292:9: error:
implicit declaration of function ‘_mm256_cmpeq_epi8’
[-Werror=implicit-function-declaration]
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:292:9: error:
nested extern declaration of ‘_mm256_cmpeq_epi8’
[-Werror=nested-externs]
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:300:17: error:
expected ‘;’ before ‘tmp0’
         AVX2_VECTYPE tmp0 = AVX2_VEC_OR(p[i + 0], p[i + 1]);
                 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:301:17: error:
expected ‘;’ before ‘tmp1’
         AVX2_VECTYPE tmp1 = AVX2_VEC_OR(p[i + 2], p[i + 3]);
                 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:302:17: error:
expected ‘;’ before ‘tmp2’
         AVX2_VECTYPE tmp2 = AVX2_VEC_OR(p[i + 4], p[i + 5]);
                 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:303:17: error:
expected ‘;’ before ‘tmp3’
         AVX2_VECTYPE tmp3 = AVX2_VEC_OR(p[i + 6], p[i + 7]);
                 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:304:17: error:
expected ‘;’ before ‘tmp01’
         AVX2_VECTYPE tmp01 = AVX2_VEC_OR(tmp0, tmp1);
                 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:305:17: error:
expected ‘;’ before ‘tmp23’
         AVX2_VECTYPE tmp23 = AVX2_VEC_OR(tmp2, tmp3);
                 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:306:9: error:
implicit declaration of function ‘_mm256_or_si256’
[-Werror=implicit-function-declaration]
         if (!AVX2_ALL_EQ(AVX2_VEC_OR(tmp01, tmp23), zero)) {
         ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:306:9: error:
nested extern declaration of ‘_mm256_or_si256’
[-Werror=nested-externs]
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:306:71: error:
‘tmp01’ undeclared (first use in this function)
         if (!AVX2_ALL_EQ(AVX2_VEC_OR(tmp01, tmp23), zero)) {
                                                                       ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:306:78: error:
‘tmp23’ undeclared (first use in this function)
         if (!AVX2_ALL_EQ(AVX2_VEC_OR(tmp01, tmp23), zero)) {
                                                                              ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c: In function
‘can_use_buffer_find_nonzero_offset_avx2’:
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:277:1: error:
control reaches end of non-void function [-Werror=return-type]
 }
 ^
/home/petmay01/linaro/qemu-for-merges/util/cutils.c: In function
‘buffer_find_nonzero_offset_avx2’:
/home/petmay01/linaro/qemu-for-merges/util/cutils.c:312:1: error:
control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors


thanks
-- PMM

  parent reply	other threads:[~2016-06-06 19:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-06 17:35 [Qemu-devel] [PULL 00/11] Misc changes for 2016-06-06 Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 01/11] tests: Rename tests/Makefile to tests/Makefile.include Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 02/11] pc: allow raising low memory via max-ram-below-4g option Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 03/11] hw/char: QOM'ify escc.c (fix) Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 04/11] scsi: esp: check TI buffer index before read/write Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 05/11] scsi: mark TYPE_SCSI_DISK_BASE as abstract Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 06/11] Makefile: Add a "FORCE" target Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 07/11] Makefile: Derive "PKGVERSION" from "git describe" by default Paolo Bonzini
2016-10-07 12:58   ` Peter Maydell
2016-06-06 17:35 ` [Qemu-devel] [PULL 08/11] scsi-disk: add missing break Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 09/11] vnc: list the 'to' parameter of '-vnc' in the qemu man page Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 10/11] Make avx2 configure test work with -O2 Paolo Bonzini
2016-06-06 17:35 ` [Qemu-devel] [PULL 11/11] avx2 configure: Use primitives in test Paolo Bonzini
2016-06-06 19:14 ` Peter Maydell [this message]
2016-06-06 19:22   ` [Qemu-devel] [PULL 00/11] Misc changes for 2016-06-06 Dr. David Alan Gilbert
2016-06-06 19:35     ` Peter Maydell
2016-06-07  9:51       ` Dr. David Alan Gilbert

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-+EtJvpYPT5Xi7dke1734qNUSjmj2D40qYZbqFR_pSSw@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=dgilbert@redhat.com \
    --cc=pbonzini@redhat.com \
    --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).