From owner-freebsd-mips@FreeBSD.ORG Thu Aug 26 23:19:12 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 ED648106564A for ; Thu, 26 Aug 2010 23:19:12 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2808FC16 for ; Thu, 26 Aug 2010 23:19:12 +0000 (UTC) Received: by wwb34 with SMTP id 34so681844wwb.31 for ; Thu, 26 Aug 2010 16:19:11 -0700 (PDT) Received: by 10.216.176.8 with SMTP id a8mr31983wem.93.1282864751262; Thu, 26 Aug 2010 16:19:11 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.216.5.5 with HTTP; Thu, 26 Aug 2010 16:18:51 -0700 (PDT) In-Reply-To: <20100826.171545.705015198975915183.imp@bsdimp.com> References: <4C76F4B6.5050607@adaranet.com> <20100826.171545.705015198975915183.imp@bsdimp.com> From: Juli Mallett Date: Thu, 26 Aug 2010 16:18:51 -0700 X-Google-Sender-Auth: Jr2uKURosDUzqtH-3PXG-kxJOdY Message-ID: To: "M. Warner Losh" 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:19:13 -0000 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. In short: your config probably lacks and should have (even though it's actually wrong) options ISA_MIPS32.