[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/8] meson: drop the .fa library suffix
|
From: |
Marc-André Lureau |
|
Subject: |
Re: [PATCH 4/8] meson: drop the .fa library suffix |
|
Date: |
Wed, 23 Feb 2022 13:14:18 +0400 |
Hi
On Wed, Feb 23, 2022 at 1:08 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 2/22/22 20:40, marcandre.lureau@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
Ah, but gitlab oss-fuzz build passed
https://gitlab.com/marcandre.lureau/qemu/-/pipelines/476763089
> 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.
Any meson github issue we can point to?