brummer10 / GxPlugins.lv2

A set of extra lv2 plugins from the guitarix project.
GNU General Public License v3.0
168 stars 17 forks source link

Plugins have executable stack #24

Closed dvzrv closed 5 years ago

dvzrv commented 5 years ago

After building v0.7, I ran into another issue, that affects all plugins: They all have executable stack (which is quite dangerous).

Arch's namcap tool reports this as follows:

gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_AxisFace.lv2/gx_AxisFace_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_CreamMachine.lv2/gx_CreamMachine_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_DOP250.lv2/gx_DOP250_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_Heathkit.lv2/gx_Heathkit_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_KnightFuzz.lv2/gx_KnightFuzz_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_MicroAmp.lv2/gx_MicroAmp_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_SunFace.lv2/gx_SunFace_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_TubeDistortion.lv2/gx_TubeDistortion_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_ampegsvt.lv2/gx_ampegsvt_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_bajatubedriver.lv2/gx_bajatubedriver_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_blueamp.lv2/gx_blueamp_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_boobtube.lv2/gx_boobtube_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_bottlerocket.lv2/gx_bottlerocket_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_clubdrive.lv2/gx_clubdrive_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_epic.lv2/gx_epic_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_eternity.lv2/gx_eternity_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_guvnor.lv2/gx_guvnor_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_hotbox.lv2/gx_hotbox_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_hyperion.lv2/gx_hyperion_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_liquiddrive.lv2/gx_liquiddrive_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_luna.lv2/gx_luna_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_maestro_fz1b.lv2/gx_maestro_fz1b_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_maestro_fz1s.lv2/gx_maestro_fz1s_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_plexi.lv2/gx_plexi_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_quack.lv2/gx_quack_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_saturate.lv2/gx_saturate_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_sd1sim.lv2/gx_sd1sim_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_sd2lead.lv2/gx_sd2lead_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_sfp.lv2/gx_sfp_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_shakatube.lv2/gx_shakatube_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_sloopyblue.lv2/gx_sloopyblue_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_slowgear.lv2/gx_slowgear_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_supersonic.lv2/gx_supersonic_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_timray.lv2/gx_timray_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_tonemachine.lv2/gx_tonemachine_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_ultracab.lv2/gx_ultracab_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_uvox.lv2/gx_uvox_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_valvecaster.lv2/gx_valvecaster_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_vfm.lv2/gx_vfm_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_vmk2d.lv2/gx_vmk2d_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_voodoo.lv2/gx_voodoo_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_voxbass.lv2/gx_voxbass_ui.so') has executable stack.
gxplugins.lv2 W: ELF file ('usr/lib/lv2/gx_vstb.lv2/gx_vstb_ui.so') has executable stack.

This can be fixed by appending ,-z,noexecstack to LDFLAGS. I can do that successfully during packaging, but the problem with full RELRO remains.