Skip to content
Snippets Groups Projects
  1. Jan 12, 2022
    • Paolo Bonzini's avatar
      configure: simplify creation of plugin symbol list · 37650689
      Paolo Bonzini authored
      
      --dynamic-list is present on all supported ELF (not Windows or Darwin)
      platforms, since it dates back to 2006; -exported_symbols_list is
      likewise present on all supported versions of macOS.  Do not bother
      doing a functional test in configure.
      
      Remove the file creation from configure as well: for Darwin, move the
      the creation of the Darwin-formatted symbols to meson; for ELF, use the
      file in the source path directly and switch from -Wl, to -Xlinker to
      not break weird paths that include a comma.
      
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      37650689
  2. Nov 29, 2021
  3. Oct 05, 2021
  4. Sep 02, 2021
    • Paolo Bonzini's avatar
      plugins: do not limit exported symbols if modules are active · b906acac
      Paolo Bonzini authored
      On Mac --enable-modules and --enable-plugins are currently incompatible, because the
      Apple -Wl,-exported_symbols_list command line options prevents the export of any
      symbols needed by the modules.  On x86 -Wl,--dynamic-list does not have this effect,
      but only because the -Wl,--export-dynamic option provided by gmodule-2.0.pc overrides
      it.  On Apple there is no -Wl,--export-dynamic, because it is the default, and thus
      no override.
      
      Either way, when modules are active there is no reason to include the plugin_ldflags.
      While at it, avoid the useless -Wl,--export-dynamic when --enable-plugins is
      specified but --enable-modules is not; this way, the GNU and Apple configurations
      are more similar.
      
      Resolves: https://gitlab.com/qemu-project/qemu/-/issues/516
      
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      [AJB: fix noexport to no-export]
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Message-Id: <20210811100550.54714-1-pbonzini@redhat.com>
      Cc: qemu-stable@nongnu.org
      b906acac
  5. Aug 21, 2020
Loading