From owner-freebsd-mips@FreeBSD.ORG Tue Jun 1 09:23:27 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 876CE1065673 for ; Tue, 1 Jun 2010 09:23:27 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 456008FC12 for ; Tue, 1 Jun 2010 09:23:26 +0000 (UTC) Received: by vws10 with SMTP id 10so2926633vws.13 for ; Tue, 01 Jun 2010 02:23:26 -0700 (PDT) Received: by 10.220.107.73 with SMTP id a9mr4389973vcp.65.1275384206192; Tue, 01 Jun 2010 02:23:26 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.220.199.70 with HTTP; Tue, 1 Jun 2010 02:23:06 -0700 (PDT) In-Reply-To: References: From: Juli Mallett Date: Tue, 1 Jun 2010 02:23:06 -0700 X-Google-Sender-Auth: eNfZ0p8JIChPEBYO9Q72-U5_25Q Message-ID: To: "C. Jayachandran" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: HEADS UP: Toolchain changes coming soon. (Octeon, n32, n64) 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: Tue, 01 Jun 2010 09:23:27 -0000 On Tue, Jun 1, 2010 at 02:17, C. Jayachandran wr= ote: > That clears it up, thanks. =A0Looking at the patch, most of the changes > seems to be in binutils, are these from a specific version of > binutils? =A0I am asking because I'm not sure how the FreeBSD toolchain > is synchronized across architectures - are all architectures at the > same version of binutils, or can each architecture decide to update > its part of the tool-chain. I pulled some files from a slightly more modern version of binutils from a Cavium SDK than ours and reduced differences to make the relevant parts of code match the older binutils API we provide, while still providing the newer opcode interface and a couple of nearby things. >> Is there specific functionality you need in GCC? > > Netlogic has some updates for GCC and binutils in its SDK. But they > are not critical, and we have not merged these into the FreeBSD. =A0I > was not sure if I can get these changes into FreeBSD directly. If Netlogic can GPLv2 their specific changes or reimplement them relative to FreeBSD's toolchain, I think we would want to coordinate to get them into the tree. Our goal is generally to produce a fully-working self-hosting system out of the box. That may change at some point, especially if Warner's work on supporting external toolchains better pans out well, but I think for now it's a reasonable goal. Note that my understanding is that David O'Brien is working on bringing in the last GPLv2 binutils which will make the differences required for mips64r2 and Octeon substantially-smaller and I would hope for Netlogic processors as well. Thanks, Juli.