From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRPcT-0004d0-AQ for qemu-devel@nongnu.org; Sun, 03 Jan 2010 07:31:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRPcO-0004bt-Oj for qemu-devel@nongnu.org; Sun, 03 Jan 2010 07:31:40 -0500 Received: from [199.232.76.173] (port=47205 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRPcO-0004bq-Hz for qemu-devel@nongnu.org; Sun, 03 Jan 2010 07:31:36 -0500 Received: from mail-pw0-f43.google.com ([209.85.160.43]:45602) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRPcO-0006rs-D2 for qemu-devel@nongnu.org; Sun, 03 Jan 2010 07:31:36 -0500 Received: by pwj11 with SMTP id 11so9529444pwj.2 for ; Sun, 03 Jan 2010 04:31:35 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1262268274-1043-1-git-send-email-andreas.faerber@web.de> References: <1262268274-1043-1-git-send-email-andreas.faerber@web.de> From: Blue Swirl Date: Sun, 3 Jan 2010 12:31:15 +0000 Message-ID: Subject: Re: [Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: qemu-devel@nongnu.org, =?UTF-8?Q?Andreas_F=C3=A4rber?= , Juan Quintela , "Kirill A. Shutemov" , Paolo Bonzini , Palle Lyckegaard 2009/12/31 Andreas F=C3=A4rber : > From: Andreas F=C3=A4rber > > Juan has contributed a cool Makefile infrastructure that enables us to dr= op > static libraries completely: > > Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,use= r-}, > 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 obsol= eted > =C2=A0by "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.