ci: use lld along with clang
This is a fix for linking errors with MSAN/UBSAN when static runtime is linked also into shared library, which causes weak symbols to me incorrectly referenced by bfd. Just use lld, which is clever about this case and we already force clang for those builds anyway.
Merge request reports
Activity
@haasn Would it be possible to install
lld
in docker image? This linking error is stupid and annoying and we should use competent linker instead of selectively disabling things that doesn't build.I'll submit an MR to https://code.videolan.org/videolan/docker-images
mentioned in commit haasn/docker-images@55020239
mentioned in merge request docker-images!240 (merged)
@kasper93 you can update the jammy CI image to
registry.videolan.org/libplacebo-ubuntu-jammy:20230329001344
to make this workadded 37 commits
-
3ac7dd98...97d008b6 - 33 commits from branch
videolan:master
- 2338539a - Revert "ci: disable building demos with msan/ubsan"
- 36e44575 - ci: move meson build command to new line
- 2871d11d - ci: update jammy image to include lld
- 517119d7 - ci: use lld along with clang
Toggle commit list-
3ac7dd98...97d008b6 - 33 commits from branch