From owner-freebsd-sparc64@FreeBSD.ORG Thu Apr 14 08:53:30 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1C9810656DB for ; Thu, 14 Apr 2011 08:53:30 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 897468FC19 for ; Thu, 14 Apr 2011 08:53:30 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p3E8rShB033230; Thu, 14 Apr 2011 10:53:28 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p3E8rS23033229; Thu, 14 Apr 2011 10:53:28 +0200 (CEST) (envelope-from marius) Date: Thu, 14 Apr 2011 10:53:28 +0200 From: Marius Strobl To: Super Bisquit Message-ID: <20110414085328.GA33206@alchemy.franken.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Error in elf_machdep.c when building a kernel X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2011 08:53:31 -0000 On Thu, Apr 14, 2011 at 03:50:59AM -0400, Super Bisquit wrote: > I had noted nefore that elf64-sparc-freebsd was not found. > There is /usr/src/contrib/binutils/ld/emulparams/elf64_sparc.sh and > /usr/src/contrib/binutils/ld/emulparams/elf64_sparc_fbsd.sh > > I replaced freebsd with fbsd in the stated file and saved > elf_machdep.c to elf_machdep.c.old. > > I'm not sure if it will correct the problem. Sounds like you're trying to build world across the binutils update with an unclean object directory; you need to delete it or not use -DNO_CLEAN, otherwise the result likely won't work, even with your hack. Marius