> On 23 February 2016 at 09:48, Paolo Bonzini <pbonz...@redhat.com> wrote:
> > On 23/02/2016 10:09, Peter Maydell wrote:
> >> Hi. I'm afraid this doesn't compile for x86-64 Linux:
> >
> > What compiler is this, and does the following compile with no
> > particular extra options?
> >
> > #pragma GCC target("avx2")
> > #include <immintrin.h>
> > __m256i foo;
> 
> This is stock gcc from Ubuntu trusty:
> $ gcc --version
> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
> 

The same version as I used for test, it compiles for me. What's lead to the 
different result?
The command I used for building:
# ./configure --target-list=x86_64-softmmu
# make -j4
# ./configure --target-list=x86_64-linux-user
#make -j4

Both success.

Liang

Reply via email to