[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test
From: |
Aaron Lindsay |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test |
Date: |
Thu, 14 Jul 2016 15:44:55 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Jul 14 15:35, Peter Maydell wrote:
> On 14 July 2016 at 15:27, Aaron Lindsay <address@hidden> wrote:
> > On Jul 14 14:23, Peter Maydell wrote:
> >> On 14 July 2016 at 14:15, Paolo Bonzini <address@hidden> wrote:
> >> > On 14/07/2016 15:13, Aaron Lindsay wrote:
> >> >> I'm configuring with:
> >> >> # ./configure \
> >> >> --static \
> >> >> --disable-gtk \
> >> >> --target-list=aarch64-softmmu
> >>
> >> > Hmm, it's possible that we have to disable ifunc together with --static.
> >>
> >> I'm still tempted to say we should just forbid building the softmmu
> >> binaries with --static, unless somebody has a serious use case for it...
> >
> > FWIW, we do find it convenient to be able to compile one binary capable
> > of running on multiple systems with different (and incompatible) library
> > versions.
>
> The difficulty here is that the system emulators may call
> functions in glibc which do dynamic resolution anyway, and so
> "require the shared libraries from the glibc version used for
> linking", to quote the linker warning. For the user-only binaries
> we can claim we don't make those function calls, but for softmmu
> we do.
We haven't observed any problems with this approach so far, but your
point is well taken. Perhaps we get what we deserve if we insist on
statically compiling ;-)
-Aaron
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test, Dr. David Alan Gilbert, 2016/07/14
- Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test, Aaron Lindsay, 2016/07/14
- Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test, Dr. David Alan Gilbert, 2016/07/14
- Re: [Qemu-devel] [PATCH v3 2/2] avx2 configure: Use primitives in test, Aaron Lindsay, 2016/07/14
- [Qemu-devel] [PATCH] avx2 configure: Disable if static build, Aaron Lindsay, 2016/07/14
- Re: [Qemu-devel] [PATCH] avx2 configure: Disable if static build, Dr. David Alan Gilbert, 2016/07/19
- Re: [Qemu-devel] [PATCH] avx2 configure: Disable if static build, Peter Maydell, 2016/07/29