From: Keir Fraser Subject: Re: Solaris build fix breaks Solaris Date: Tue, 13 Nov 2007 05:00:03 +0000 Message-ID: References: <20071112220639.GA2329@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20071112220639.GA2329@totally.trollied.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/11/07 22:06, "John Levon" wrote: > 16396:055d98aa2dd0 almost works but not quite. LDFLAGS_DIRECT means we > end up with: > > gld -melf_i386 -nostdlib -N -Ttext 0x100000 -o hvmloader.tmp hvmloader.o > mp_tables.o util.o smbios.o 32bitbios_support.o acpi/acpi.a > > Specifying a linker script and asking for -nostdlib is obviously > contradictory. Removing $(LDFLAGS_DIRECT) fixes the problem. That command line doesn't specify a linker script. And even if it did, how would that contradict -nostdlib? Also the -nostdlib is not in LDFLAGS_DIRECT: -melf_i386 is. -- Keir