Meson: GStreamer 1.24.0 static build fails in gstreamer-plugins-rs because of LTO issues
Developers: @dabrain34 @slomo
Build pipeline: https://github.com/selkies-project/selkies-gstreamer/blob/main/addons/gstreamer/Dockerfile
The Meson setup was changed to:
meson setup --prefix /opt/gstreamer -Dbuildtype=release --default-library=static -Dgstreamer-1.0:gst-full-target-type=static_library -Dpython=enabled -Drs=enabled -Dgpl=enabled -Dbad=enabled -Dugly=enabled -Dlibav=enabled -Dgst-plugins-bad:qsv=enabled -Dgst-plugins-bad:va=enabled -Dgst-plugins-bad:openh264=enabled -Dgst-plugins-ugly:x264=enabled -Ddevtools=disabled -Ddoc=disabled -Dexamples=disabled -Dtests=disabled builddir
Logs:
--default-library=static -Dgstreamer-1.0:gst-full-target-type=shared_library
: https://pastebin.com/raw/3H6Z7KwQ
--default-library=static -Dgstreamer-1.0:gst-full-target-type=static_library
: https://pastebin.com/raw/BPbNSw5j
@slomo commented:
so yes, that's a rust problem but i was under the impression that this was worked around somehow in gstreamer-full too. cerbero has a workaround for it in any case
https://github.com/rust-lang/rust/issues/44322