From owner-freebsd-amd64@FreeBSD.ORG Thu Jun 17 05:17:22 2004 Return-Path: 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 5A2A316A4CF; Thu, 17 Jun 2004 05:17:22 +0000 (GMT) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 567EF43D58; Thu, 17 Jun 2004 05:17:21 +0000 (GMT) (envelope-from keramida@hellug.gr) Received: from igloo.linux.gr (IDENT:1041@localhost [127.0.0.1]) i5H5FfoL005847; Thu, 17 Jun 2004 08:15:42 +0300 Received: (from keramida@localhost) by igloo.linux.gr (8.12.10/8.12.10/Debian-2) id i5H5FefJ005845; Thu, 17 Jun 2004 08:15:40 +0300 X-Authentication-Warning: igloo.linux.gr: keramida set sender to keramida@linux.gr using -f Date: Thu, 17 Jun 2004 08:15:40 +0300 From: Giorgos Keramidas To: Sean McNeil Message-ID: <20040617051540.GA5680@igloo.linux.gr> References: <1087442023.22390.2.camel@server.mcneil.com> <1087448595.4494.5.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1087448595.4494.5.camel@server.mcneil.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.884, required 5, autolearn=not spam, AWL 0.02, BAYES_00 -4.90) X-MailScanner-From: keramida@linux.gr cc: freebsd-current@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: new binutils broken for amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 05:17:22 -0000 On 2004-06-16 22:03, Sean McNeil wrote: > On Wed, 2004-06-16 at 20:13, Sean McNeil wrote: > > I believe that most likely there is a config.guess issue here. It would > > appear that the linker isn't setting > > > > NATIVE=yes > > USE_LIBPATH=yes > > > > for freebsd/amd64. These should be set when host and target are the > > same. This is causing all sorts of compilation problems. > > Actually, this appears to be a problem with the make mechanism. > > If I do > > make buildworld && make installworld > > it creates an improper ld. If I do > > cd /usr/src/gnu/usr.bin/binutils/ld > make clean > make > make install > > Then I get an ld that works properly. > > Very odd. Hmmm, are you by any chance using a /usr/obj of older builds? What happens if you start over with a completely clean /usr/obj? If 'make clean' or 'make cleandir' is what it takes to fix things, stale object files from /usr/obj could be the source of all troubles. - Giorgos