From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTorv-0001cQ-LC for qemu-devel@nongnu.org; Wed, 22 Jul 2009 23:21:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTorr-0001c6-1f for qemu-devel@nongnu.org; Wed, 22 Jul 2009 23:21:19 -0400 Received: from [199.232.76.173] (port=59575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTorq-0001c3-Qr for qemu-devel@nongnu.org; Wed, 22 Jul 2009 23:21:14 -0400 In-Reply-To: <200907222333.21770.paul@codesourcery.com> (Paul Brook's message of "Wed\, 22 Jul 2009 23\:33\:20 +0100") References: <4A67594C.7080908@codemonkey.ws> <200907222333.21770.paul@codesourcery.com> From: Juan Quintela Date: Thu, 23 Jul 2009 05:19:02 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 00/37] Generate a proper LIBS variable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Paolo Bonzini , qemu-devel@nongnu.org Paul Brook wrote: >> >> I'd rather see the us generate a config-host.ld that contained the >> >> output of ld --verbose -v | grep SEARCH_DIR and then do: >> > >> > Only for x86_64 or all architectures? Once here. >> >> For all I would think. My only concern is that we'll break non-GNU ld's >> but we'll cross that bridge when we come to it. > > We should only be using linker scripts for the userspace emulation. State of afairs: a- we use linker scripts for linux-user and bsd-user b- we don't use linker script on darwin-user c- ia64 uses linker script for target-softmmu (only arch at all) The reason for changing the SEARCH_PATH is because: a- We changed to use a LIBS variable for everything b- In x86_64, it is common to have locally compiled libraries in /usr/local/lib not /usr/local/lib64 (case of libvdeplug.so for Anthony. What to do? a- revert back to use diferent LIBS variable for each binary b- change the linker scripts search path, and don't allow ever user compiled libraries when using a linker-script. Thanks for the input about the liker scripts use. Later, Juan.