qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: qemu-devel@nongnu.org,
	"Andreas Färber" <afaerber@opensolaris.org>,
	"Juan Quintela" <quintela@trasno.org>,
	"Kirill A. Shutemov" <kirill@shutemov.name>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Palle Lyckegaard" <palle@lyckegaard.dk>
Subject: Re: [Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries
Date: Mon, 4 Jan 2010 20:47:58 +0000	[thread overview]
Message-ID: <f43fc5581001041247q60598d45y3f6d49899c1a8fe4@mail.gmail.com> (raw)
In-Reply-To: <f43fc5581001030431w5b5803dbr83369e47652a014e@mail.gmail.com>

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)
>
> Breaks build:
>  CC    i386-softmmu/i386-dis.o
> make[1]: *** No rule to make target `/loader.o', needed by `qemu'.  Stop.

I found out that completely removing the object directory and
recreating it from scratch helps. This sucks bisectability-wise, is
there any way to avoid it?

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

  reply	other threads:[~2010-01-05 19:57 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 [this message]
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
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=f43fc5581001041247q60598d45y3f6d49899c1a8fe4@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=afaerber@opensolaris.org \
    --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).