From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 8 21:04:35 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD7E16A49E; Fri, 8 Sep 2006 21:04:35 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB5FD43D46; Fri, 8 Sep 2006 21:04:32 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id CCI16358 (AUTH peterg@ptree32.com.au); Sat, 9 Sep 2006 07:04:29 +1000 (EST) Message-ID: <4501DAE6.6080202@freebsd.org> Date: Fri, 08 Sep 2006 14:04:38 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: John Baldwin References: <200609072151.k87LpIGL037561@www.freebsd.org> <200609081110.53058.jhb@freebsd.org> In-Reply-To: <200609081110.53058.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: amd64/102996: powerpc cross-build fails on amd64 host, works fine on i386 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 21:04:36 -0000 > This doesn't match alpha (though that only matters if you MFC this). Seems > that a more general purpose solution would be to test TARGET_ARCH and use > that to set TARGET properties Yes - setting TARGET_64BIT in the appropriate libbfd/Makefile.{arch} would be another way. But it's Ruslan's/David's area so I'll leave it up to them for the fix. > (i.e. the bug seems to be that it's setting > TARGET properties based on the host arch, which is wrong). Agreed !! later, Peter.