Re: [PATCH for 6.1] plugins: do not limit exported symbols if modules are active

2021-08-12 Thread Alex Bennée
Paolo Bonzini writes: > Il gio 12 ago 2021, 11:40 Alex Bennée ha scritto: > >ERROR: glib-2.56 gmodule-noexport-2.0 is required to compile QEMU > > Should it be gmodule-no-export? Hopefully the different distros aren't > packaging different .pc files. > > My bad. :( It's correct with the

Re: [PATCH for 6.1] plugins: do not limit exported symbols if modules are active

2021-08-12 Thread Paolo Bonzini
Il gio 12 ago 2021, 11:40 Alex Bennée ha scritto: > ERROR: glib-2.56 gmodule-noexport-2.0 is required to compile QEMU > > Should it be gmodule-no-export? Hopefully the different distros aren't > packaging different .pc files. > My bad. :( It's correct with the dash. Does this mean

Re: [PATCH for 6.1] plugins: do not limit exported symbols if modules are active

2021-08-12 Thread Alex Bennée
Paolo Bonzini writes: > 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

[PATCH for 6.1] plugins: do not limit exported symbols if modules are active

2021-08-11 Thread Paolo Bonzini
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

[PATCH for 6.1] plugins: do not limit exported symbols if modules are active

2021-08-11 Thread Paolo Bonzini
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