From owner-freebsd-mips@FreeBSD.ORG Thu Aug 26 23:31:26 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 891FD1065695; Thu, 26 Aug 2010 23:31:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 395D68FC15; Thu, 26 Aug 2010 23:31:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o7QNPnQ6027938; Thu, 26 Aug 2010 17:25:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 26 Aug 2010 17:25:52 -0600 (MDT) Message-Id: <20100826.172552.898177426545476456.imp@bsdimp.com> To: jmallett@freebsd.org From: "M. Warner Losh" In-Reply-To: References: <4C76F4B6.5050607@adaranet.com> <20100826.171545.705015198975915183.imp@bsdimp.com> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: Cannot build the Mips 32 bit kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2010 23:31:26 -0000 In message: Juli Mallett writes: : On Thu, Aug 26, 2010 at 16:15, M. Warner Losh wrote:= : > In message: <4C76F4B6.5050607@adaranet.com> : > =A0 =A0 =A0 =A0 =A0 =A0Patrick Mahan writes: : > : I have attached my modified OCTEON1-32 for you folks to look at. : > : > And the mailing list helpfully stripped it :( : = : What's going on here is that we use ISA_MIPS32 bogusly (using it at : all is bad enough, but...) namely we use it to determine whether to : link in the relevant bits of libkern. I'm not sure what the best : thing to do is. I've thought about creating a .c file that includes : the libkern bits depending on the ABI that's being used, so that we : can get config out of the business of handling this. Agreed. ISA_MIPS32 seemed like a good idea when I did it. But now I agree with you: its rather lame. : In short: your config probably lacks and should have (even though it'= s : actually wrong) options ISA_MIPS32. Warner