qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC/RFT PATCH] build: replace weak symbols with a stat


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC/RFT PATCH] build: replace weak symbols with a static library
Date: Fri, 16 Nov 2012 17:15:10 +0000

On 16 November 2012 17:06, Peter Maydell <address@hidden> wrote:
> This turns out to be the same problem as the MacOS failure:
> as well as building the libqemustub.a in the root directory
> we also try to create an empty libqemustub.a in arm-softmmu/
> (or whatever the target subdir is). On MacOS this fails
> because ar doesn't allow an empty list of objects. On Linux
> it succeeds, but then the final link of the qemu executable
> fails because we use the emtpy archive rather than the one
> with all the stub objects.

Changing all the references to libqemustub.a in Makefile.target
to read "../libqemustub.a" instead fixes this and we seem to
build OK on both MacOS and Linux.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]