From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsXtt-0005RK-GE for qemu-devel@nongnu.org; Thu, 05 Jun 2014 09:40:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsXtm-0005bF-O5 for qemu-devel@nongnu.org; Thu, 05 Jun 2014 09:40:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:43781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsXtm-0005Wa-GW for qemu-devel@nongnu.org; Thu, 05 Jun 2014 09:40:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WsXtk-0005pC-3x for qemu-devel@nongnu.org; Thu, 05 Jun 2014 15:40:04 +0200 Received: from eunomia.informatik.uni-erlangen.de ([131.188.34.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2014 15:40:04 +0200 Received: from raimue by eunomia.informatik.uni-erlangen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jun 2014 15:40:04 +0200 From: =?UTF-8?B?UmFpbmVyIE3DvGxsZXI=?= Date: Thu, 05 Jun 2014 15:38:28 +0200 Message-ID: References: <5322F612.6070708@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit In-Reply-To: <5322F612.6070708@redhat.com> Subject: Re: [Qemu-devel] Problems compiling HEAD on Mac OS X 10.9.2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 2014-03-14 13:29, Paolo Bonzini wrote: > Il 13/03/2014 19:48, Peter Maydell ha scritto: >> Yep, here we are: >> LIBSSH2_LIBS=-L/opt/local/lib -lssh2 -Wl,-headerpad_max_install_names >> -arch x86_64 >> CURL_LIBS=-L/opt/local/lib -lcurl >> >> rules.mak is incorrectly reordering the contents of >> these and generating a non-working mess. > > Fam, > > is the $(sort) actually necessary in extract-libs? It is required in > expand-objs, but duplicate -l options should be harmless. The current master still contains this bug and sorts "-arch x86_64" separately. I doubt the $(sort) does anything useful. For the distribution of QEMU in MacPorts I removed the $(sort) from extract-libs in a local patch in order to be able to build some variants [1]. Rainer [1] https://trac.macports.org/browser/trunk/dports/emulators/qemu/files/patch-link-sort.diff?rev=120672