On 2/22/22 20:40, marcandre.lur...@redhat.com wrote:

The .fa suffix was a temporary hack introduced in commit
1f0a1d8a51 ("build-sys hack: link with whole .fa archives") when the
build system was mixed between meson & makefiles. It is no longer
needed.

It is still needed to separate internal and system archives, otherwise the oss-fuzz build fails. Meson adds a --start-group/--end-group pair around all libraries, and the fork-fuzz.ld linker script should be outside it. If the libraries are named .a, the --start-group is placed much earlier.

This is of course a very ugly workaround; Meson should just use the objects instead of the archives when link_whole is used with an internal convenience archive.

Paolo

Reply via email to