From owner-freebsd-mips@FreeBSD.ORG Thu Aug 26 12:51:35 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 22FE910656A3 for ; Thu, 26 Aug 2010 12:51:35 +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 CC5288FC13 for ; Thu, 26 Aug 2010 12:51:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o7QCiX3K022127; Thu, 26 Aug 2010 06:44:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 26 Aug 2010 06:44:35 -0600 (MDT) Message-Id: <20100826.064435.690091871583279020.imp@bsdimp.com> To: c.jayachandran@gmail.com From: "M. Warner Losh" In-Reply-To: References: <20100825.232923.287595822763821210.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: PMahan@adaranet.com, freebsd-mips@FreeBSD.org Subject: Re: Is the MIPS kernel buildable from HEAD? 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 12:51:35 -0000 In message: "Jayachandran C." writes: : On Thu, Aug 26, 2010 at 10:59 AM, M. Warner Losh wro= te: : > In message: : > =A0 =A0 =A0 =A0 =A0 =A0"Jayachandran C." = writes: : > : On Thu, Aug 26, 2010 at 2:43 AM, M. Warner Losh = wrote: : > : > In message: <32AB5C9615CC494997D9ABB1DB12783C024C875590@SJ-EXCH= -1.adaranet.com> : > : > =A0 =A0 =A0 =A0 =A0 =A0Patrick Mahan writ= es: : > : > : Is it possible to build the MIPS kernel from HEAD? =A0Or is t= he : > : > : current development still external to the HEAD branch? : > : > : > : > Yes. =A0The tip of head is where the mips action is these days.= =A0There : > : > is no external development branch. : > : > : > : > There is one issue, however. =A0If you are building for one of = the : > : > 64-bit processors a 64-bit kernel, then the required userland w= on't : > : > build. =A0There's still issues that need to be sorted out... : > : : > : The 64-bit userland builds for me with =A0-DWITHOUT_CDDL -DWITHOU= T_USB : > : -DWITHOUT_BLUETOOTH =A0-DWITHOUT_RESCUE - are you referring to th= ese, or : > : are there other issues? : > : > I can do a buildworld now without any of these flags. =A0I don't kn= ow : > what the bluetooth issue is/was, but it doesn't kill the build. =A0= I : = : If I remember correctly, one of those uses ld to convert a binary blo= b : to a object file, and that failed because the generated object was no= t : of the correct abi. I had thought it it be a toolchain/bfd issue, but= : did not dig further. Yes. that's right. It generates the wrong ABI. Warner