Re: [PATCH 07/11] build: Use flat namespace for libvirt on macOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 21, 2019 at 07:13:19PM +0300, Roman Bolshakov wrote:
> >From ld(1):
> 
>   By default all references resolved to a dynamic library record the
>   library to which they were resolved. At runtime, dyld uses that
>   information to directly resolve symbols. The alternative is to use the
>   -flat_namespace option.  With flat namespace, the library is not
>   recorded.  At runtime, dyld will search each dynamic library in load
>   order when resolving symbols. This is slower, but more like how other
>   operating systems resolve symbols.
> 
> That fixes the set of tests that preload a mock library to replace
> library symbols:
>   qemublocktest
>   qemumonitorjsontest
>   viriscsitest
>   virmacmaptest
>   virnetserverclienttest
> 
> Signed-off-by: Roman Bolshakov <r.bolshakov@xxxxxxxxx>
> ---
>  configure.ac    | 1 +
>  src/Makefile.am | 9 +++++++--
>  2 files changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux