From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Aaron Lindsay <alindsay@codeaurora.org>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com,
peter.maydell@linaro.org, amit.shah@redhat.com,
liang.z.li@intel.com, quintela@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test
Date: Thu, 14 Jul 2016 14:33:23 +0100 [thread overview]
Message-ID: <20160714133322.GD2077@work-vm> (raw)
In-Reply-To: <20160714131355.GA24499@codeaurora.org>
* Aaron Lindsay (alindsay@codeaurora.org) wrote:
> On Jun 10 12:16, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> > Use the avx2 primitives during the test, thus making sure that the
> > compiler and assembler could actually use avx2.
> >
> > This also detects the failure case on gcc 4.8.x with -save-temps
> > and avoids the need for the gcc version check in cutils.
>
> I'm getting a segfault when running the latest tip compiled with gcc
> 4.8.4 on Ubuntu 14.04 and I've bisected it to this commit.
>
> # gcc --version
> gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
>
> I'm configuring with:
> # ./configure \
> --static \
> --disable-gtk \
> --target-list=aarch64-softmmu
>
> When run under gdb, I get:
> Program received signal SIGSEGV, Segmentation fault.
> buffer_find_nonzero_offset_ifunc () at ./util/cutils.c:333
> 333 {
> (gdb) bt
> #0 buffer_find_nonzero_offset_ifunc () at ./util/cutils.c:333
> #1 0x0000000000939c58 in __libc_start_main ()
> #2 0x0000000000419337 in _start ()
>
> I confess I don't understand the intricacies here, but I'm willing to
> test fixes if you have any ideas for how to make this also work for my
> compiler without blindly excluding all gcc < 4.9.
Does it work if you configure without the --static?
Dave
>
> -Aaron
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2016-07-14 13:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 11:16 [Qemu-devel] [PATCH v3 0/2] AVX2 configure fixes Dr. David Alan Gilbert (git)
2016-06-10 11:16 ` [Qemu-devel] [PATCH v3 1/2] Make avx2 configure test work with -O2 Dr. David Alan Gilbert (git)
2016-06-10 11:16 ` [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test Dr. David Alan Gilbert (git)
2016-07-14 13:13 ` Aaron Lindsay
2016-07-14 13:15 ` Paolo Bonzini
2016-07-14 13:23 ` Peter Maydell
2016-07-14 14:27 ` Aaron Lindsay
2016-07-14 14:35 ` Peter Maydell
2016-07-14 19:44 ` Aaron Lindsay
2016-07-14 13:33 ` Dr. David Alan Gilbert [this message]
2016-07-14 14:18 ` Aaron Lindsay
2016-07-14 15:05 ` Dr. David Alan Gilbert
2016-07-14 19:36 ` Aaron Lindsay
2016-07-14 19:38 ` [Qemu-devel] [PATCH] avx2 configure: Disable if static build Aaron Lindsay
2016-07-19 19:12 ` Dr. David Alan Gilbert
2016-07-29 14:22 ` Peter Maydell
2016-06-13 9:31 ` [Qemu-devel] [PATCH v3 0/2] AVX2 configure fixes Paolo Bonzini
2016-06-13 10:51 ` Peter Maydell
2016-06-13 10:58 ` 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=20160714133322.GD2077@work-vm \
--to=dgilbert@redhat.com \
--cc=alindsay@codeaurora.org \
--cc=amit.shah@redhat.com \
--cc=liang.z.li@intel.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/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).