From: Blue Swirl <blauwirbel@gmail.com>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>,
Paolo Bonzini <pbonzini@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Palle Lyckegaard <palle@lyckegaard.dk>,
Juan Quintela <quintela@trasno.org>
Subject: Re: [Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries
Date: Wed, 6 Jan 2010 20:40:11 +0000 [thread overview]
Message-ID: <f43fc5581001061240t377c30dbu37a5ab8cc0ea1e39@mail.gmail.com> (raw)
In-Reply-To: <65261088-E3B4-4411-876C-79819E075E36@web.de>
On Wed, Jan 6, 2010 at 7:53 PM, Andreas Färber <andreas.faerber@web.de> wrote:
>
> Am 06.01.2010 um 20:24 schrieb Blue Swirl:
>
>> On Wed, Jan 6, 2010 at 6:51 PM, Andreas Färber <andreas.faerber@web.de>
>> wrote:
>>>
>>> Am 04.01.2010 um 21:47 schrieb Blue Swirl:
>>>
>>>> On Sun, Jan 3, 2010 at 12:31 PM, Blue Swirl <blauwirbel@gmail.com>
>>>> wrote:
>>>>>
>>>>> 2009/12/31 Andreas Färber <andreas.faerber@web.de>:
>>>>>>
>>>>>> From: Andreas Färber <afaerber@opensolaris.org>
>>>>>>
>>>>>> Juan has contributed a cool Makefile infrastructure that enables us to
>>>>>> drop
>>>>>> static libraries completely:
>>>>>>
>>>>>> Move shared obj-y definitions to Makefile.objs, prefixed
>>>>>> {common-,hw-,user-},
>>>>>> and link those object files directly into the executables.
>>>>>>
>>>>>> Replace HWLIB by HWDIR, specifying only the directory.
>>>>>>
>>>>>> Drop --whole-archive and ARLIBS in Makefiles and configure.
>>>>>>
>>>>>> Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds
>>>>>> all
>>>>>> common objects after generating a target-specific header; add
>>>>>> dependency
>>>>>> rules to Makefile and Makefile.target instead.
>>>>>>
>>>>>> v2:
>>>>>> - Don't try to include /config.mak for user emulators
>>>>>> - Changes to user object paths ("Quickfix for libuser.a drop") were
>>>>>> obsoleted
>>>>>> by "user_only: compile everything with -fpie" (Kirill A. Shutemov)
>
>>>> There is still one problem, tools need config-host.h but the
>>>> dependencies are not correct:
>>>> CC qemu-nbd.o
>>>> In file included from /src/qemu/qemu-nbd.c:19:
>>>> /src/qemu/qemu-common.h:32:25: error: config-host.h: No such file or
>>>> directory
>>>
>>> Fix coming up. Basically, $(GENERATED_HEADERS) were previously used on
>>> _all_
>>> object files via rules.mak. That does not work when referencing objects
>>> from
>>> another Makefile, so the modelling needs to be done explicitly.
>>
>> OK. Since there have been no objections, I'd like to apply this soon.
>
> That would be very much appreciated.
>
> I have not tested bsd-user. Could you please check that on your BSD setup?
Seems to work, as do Milax and mingw32.
next prev parent reply other threads:[~2010-01-06 20:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1262268274-1043-1-git-send-email-andreas.faerber@web.de>
2010-01-03 12:31 ` [Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries Blue Swirl
2010-01-04 20:47 ` Blue Swirl
2010-01-06 18:51 ` Andreas Färber
2010-01-06 19:24 ` Blue Swirl
2010-01-06 19:53 ` Andreas Färber
2010-01-06 20:40 ` Blue Swirl [this message]
2010-01-06 19:24 ` [Qemu-devel] [PATCH v3] " Andreas Färber
2010-01-07 18:10 ` [Qemu-devel] " Blue Swirl
2010-03-06 11:33 ` [Qemu-devel] QEMU license problem (was [PATCH v3] Drop --whole-archive and static libraries) Stefan Weil
2010-03-07 13:53 ` Anthony Liguori
2010-03-07 15:24 ` Laurent Desnogues
2010-03-07 16:47 ` [Qemu-devel] " Juan Quintela
2010-03-07 17:32 ` Andreas Färber
2010-03-08 17:26 ` Anthony Liguori
2010-01-07 18:11 ` [Qemu-devel] Re: [PATCH v3] Drop --whole-archive and static libraries Palle Lyckegaard
2010-01-03 14:54 ` [Qemu-devel] Re: [PATCH v2] " Palle Lyckegaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f43fc5581001061240t377c30dbu37a5ab8cc0ea1e39@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=andreas.faerber@web.de \
--cc=kirill@shutemov.name \
--cc=palle@lyckegaard.dk \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@trasno.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).