DISTRHO / DPF-Plugins

Collection of DPF-based plugins for packaging
Other
102 stars 19 forks source link

Overlinking in executables and plugins #20

Open dvzrv opened 2 years ago

dvzrv commented 2 years ago

I noticed a bit of overlinking in some of the executables and plugins:

dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/AmplitudeImposer')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/CycleShifter')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/MaBitcrush')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/MaFreeverb')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/3BandEQ-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/3BandEQ-dssi/3BandEQ_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/3BandSplitter-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/3BandSplitter-dssi/3BandSplitter_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/AmplitudeImposer-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/AmplitudeImposer-dssi/AmplitudeImposer_ui')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/dssi/AmplitudeImposer-dssi/AmplitudeImposer_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/CycleShifter-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/CycleShifter-dssi/CycleShifter_ui')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/dssi/CycleShifter-dssi/CycleShifter_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/Kars-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/MVerb-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/MVerb-dssi/MVerb_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/Nekobi-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/Nekobi-dssi/Nekobi_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/PingPongPan-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/PingPongPan-dssi/PingPongPan_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/SoulForce-dssi.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/dssi/SoulForce-dssi/SoulForce_ui')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/3BandEQ-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/3BandSplitter-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/AmplitudeImposer-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/CycleShifter-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/MVerb-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/MaBitcrush-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/ladspa/MaBitcrush-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/MaFreeverb-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/ladspa/MaFreeverb-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/MaGigaverb-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/MaPitchshift-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/PingPongPan-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/ladspa/SoulForce-ladspa.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/3BandEQ.lv2/3BandEQ_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/3BandSplitter.lv2/3BandSplitter_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/AmplitudeImposer.lv2/AmplitudeImposer_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/lv2/AmplitudeImposer.lv2/AmplitudeImposer_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/CycleShifter.lv2/CycleShifter_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/lv2/CycleShifter.lv2/CycleShifter_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/MVerb.lv2/MVerb_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/lv2/MaBitcrush.lv2/MaBitcrush_dsp.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/lv2/MaFreeverb.lv2/MaFreeverb_dsp.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/Nekobi.lv2/Nekobi_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libpthread.so.0' by file ('usr/lib/lv2/Nekobi.lv2/Nekobi_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/PingPongPan.lv2/PingPongPan_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/lv2/ProM.lv2/ProM.so')
dpf-plugins W: Unused shared library '/usr/lib/libdl.so.2' by file ('usr/lib/lv2/SoulForce.lv2/SoulForce_ui.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/vst3/AmplitudeImposer.vst3/Contents/x86_64-linux/AmplitudeImposer.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/vst3/CycleShifter.vst3/Contents/x86_64-linux/CycleShifter.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/vst3/MaBitcrush.vst3/Contents/x86_64-linux/MaBitcrush.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/vst3/MaFreeverb.vst3/Contents/x86_64-linux/MaFreeverb.so')
dpf-plugins W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/lib/vst3/ProM.vst3/Contents/x86_64-linux/ProM.so')
falkTX commented 2 years ago

is this still an issue with 1.6?

dvzrv commented 2 years ago

The overlinking is gone. The only thing I still have sticking out is the CLAP not being PIE:

dpf-plugins-clap W: ELF file ('usr/lib/clap/3BandEQ.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/3BandSplitter.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/AmplitudeImposer.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/CycleShifter.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/Kars.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/MVerb.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/MaBitcrush.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/MaFreeverb.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/MaGigaverb.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/MaPitchshift.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/Nekobi.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/PingPongPan.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/ProM.clap/ProM.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/SoulForce.clap') lacks PIE.
dpf-plugins-clap W: ELF file ('usr/lib/clap/glBars.clap') lacks PIE.
dvzrv commented 2 years ago

Another thing I am wondering about and maybe it's intentional: The LADSPA plugins only link against gcc-libs and glibc but not against libx11, libglvnd and libxext anymore.

falkTX commented 2 years ago

The only thing I still have sticking out is the CLAP not being PIE:

might be an issue with archlinux things? the binaries are all built the same way. so this warning should apply to all and not only clap

The LADSPA plugins only link against gcc-libs and glibc but not against libx11, libglvnd and libxext anymore.

that is how it should be, so it is correct yes.