From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 16:40:10 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65DEA35A for ; Tue, 2 Dec 2014 16:40:10 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC373FD8 for ; Tue, 2 Dec 2014 16:40:09 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id b13so17704934wgh.18 for ; Tue, 02 Dec 2014 08:40:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=M8wfHPfz6qJUW4AAnPujSPkydFn6/lXbcvLMZa8bZLU=; b=hMT1JFvKejqA7k1Bylr7XQkPwRt8XMiJV/9GGk3XDxqmSudODYKz+6rYN8yspx5W23 rg9Q2T3cbQH2ULcIacg/o1i0Pe0qhe+GCWkzuoK3JIgywCX9OkfFZeRSukr8XlHTH2Ww EXmysBxBKCj1JOvOb+BcRXYCknolhjzUTDzKQAW1Sw8R9x+0RqbPwNCWybpYz70MUw8d r75fjPXzP34SupbBaPV+Gy5RS4NUTrcIxuHHDH9gU3Vb2TIC7H+/D0jKDwwuZBYieNt6 Nx/ddwNPTWAVZ1B/UT1q+MP7aGndSwJYxv/crBwSTxW5UqX4+p0o7yOSYa+bFCZysqmT x8Vw== X-Received: by 10.194.2.105 with SMTP id 9mr40548260wjt.115.1417538408301; Tue, 02 Dec 2014 08:40:08 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id hn2sm32605293wjc.5.2014.12.02.08.40.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 08:40:07 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 2 Dec 2014 17:40:05 +0100 From: Baptiste Daroussin To: Warner Losh Subject: Re: External toolchain support Message-ID: <20141202164005.GA50189@ivaldir.etoilebsd.net> References: <20141129150440.GC88765@ivaldir.etoilebsd.net> <20141202083132.GB35285@ivaldir.etoilebsd.net> <836E78AA-6ED5-4E29-A3CE-1D866592A55E@netflix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <836E78AA-6ED5-4E29-A3CE-1D866592A55E@netflix.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 16:40:10 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 02, 2014 at 09:23:00AM -0700, Warner Losh wrote: >=20 > > On Dec 2, 2014, at 1:31 AM, Baptiste Daroussin wrote: > >=20 > > On Mon, Dec 01, 2014 at 10:05:29PM -0700, Warner Losh wrote: > >>=20 > >>> On Nov 29, 2014, at 8:04 AM, Baptiste Daroussin wr= ote: > >>>=20 > >>> Hi all, > >>>=20 > >>> It is now possible to use an external toolchain to build the kernel a= nd base > >>> (tested with gcc 4.9.1 and latest binutils) > >>>=20 > >>> Of course a lot of work is needed to make it build cleanly (aka lots = of warning > >>> to fix). > >>>=20 > >>> What have been tested so far: > >>> - sparc64 kernel + world > >>> - amd64 kernel + world > >>> - powerpc64 kernel + world > >>>=20 > >>> mips cannot be tested because upstream gcc never heard of FreeBSD run= ning on > >>> mips, and I did not receive any patches for mips. > >>=20 > >> I have patches for 4.8 or so knocking around somewhere... > >=20 > > Seems like kan@ have patches for 4.9.1 and was able to build world with= it! > > (that is mips64) >=20 > Cool. I also ported the arm patches as well. I thought I=E2=80=99d sent t= hem to you, but it may have only been in the raw form. I also have patches = for the extended printf checking for the kernel, though those are much more= fragile than architecture support. >=20 The format extension I have them already, otherwise I won't be able to boot= the kernel (provided by kan as well). See devel/powerp64-gcc/files/* Regards, Bapt --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlR962IACgkQ8kTtMUmk6EypzQCdF8IlO5JxpBn8eGkuxFleRttb /8IAnj9z7pwBP/iN61TgTN9gns395SNS =Kp/u -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--