From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 08:31:38 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 0C44E689 for ; Tue, 2 Dec 2014 08:31:38 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (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 8BC6F676 for ; Tue, 2 Dec 2014 08:31:37 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id r20so28959212wiv.4 for ; Tue, 02 Dec 2014 00:31:36 -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=ROJjUaSM83jy5AA0OcGSfyCa59KdMWZNqU+5lvwNJaY=; b=t6WZiCenVHTvi/uZAqCaYKr/6C46sjp1uQbYji3iyA0Hp45g9UZs2ipApcyjC8evc6 FRC9ouwwD2FZxPd3z7yLjSi9hgThFg4H7+islXAXrOclynz/bdPcrQiUqZ4kdX08KpxK j1WSqY+iuC5IjkQAG/E0G09uSNLohHg6OZYux7DLzHUI+qF9lzICpvPLe5nMYxspHjL4 HUOiZ7/jmPZJScgV2vUH6WeANOoWzmcVgI3ZRAXN8milejhvlcCwI8MXvIJYiUWdt0e1 2JF3gTpILtQAiPR900okf70jU0dtF7+y9FprHNjRv28VtfsJn0OmuSsJRhLPv2myKYWs BlYg== X-Received: by 10.180.90.147 with SMTP id bw19mr7351814wib.69.1417509095953; Tue, 02 Dec 2014 00:31:35 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id iz19sm45396430wic.8.2014.12.02.00.31.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 00:31:35 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 2 Dec 2014 09:31:33 +0100 From: Baptiste Daroussin To: Warner Losh Subject: Re: External toolchain support Message-ID: <20141202083132.GB35285@ivaldir.etoilebsd.net> References: <20141129150440.GC88765@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: 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 08:31:38 -0000 --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 01, 2014 at 10:05:29PM -0700, Warner Losh wrote: >=20 > > On Nov 29, 2014, at 8:04 AM, Baptiste Daroussin wrot= e: > >=20 > > Hi all, > >=20 > > It is now possible to use an external toolchain to build the kernel and= 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 runni= ng on > > mips, and I did not receive any patches for mips. >=20 > I have patches for 4.8 or so knocking around somewhere... Seems like kan@ have patches for 4.9.1 and was able to build world with it! (that is mips64) >=20 [...snip...] > >=20 > > also notes that for the kernel a lots of warnings are disabled in > > share/sys/kern.mk so do not hesitate to remove yourself those -Wno-erro= r=3D and > > fix the issue they are hidding! >=20 > Cool. Please coordinate with me before removing the -Wno-error because th= ey vary by > architecture. >=20 Sure that was implied or build with all supported toolchains. regards, Bapt --K8nIJk4ghYZn606h Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlR9eOQACgkQ8kTtMUmk6EwCpQCeMNC+WRdEXXif/JFCKUsDM4Kg A90AnR+yEH66rr1uhs84/lj3p1gA+vab =cmqS -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h--