From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 16:23: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 D501FAD4 for ; Tue, 2 Dec 2014 16:23:10 +0000 (UTC) Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) (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 A340AE71 for ; Tue, 2 Dec 2014 16:23:10 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id rd3so13701653pab.14 for ; Tue, 02 Dec 2014 08:23:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:subject:mime-version:content-type :in-reply-to:date:cc:message-id:references:to; bh=zsM0ot2vmdBfBAUUKl/AZaUxEwrglbPzp3S+PkjDmRc=; b=MYMg4C/chDiezR9Pr/uPixZjoqgFhYsQGInutiWbTDY3nuW0GxzSv3WIEQ+/+Hbt0R ah0NuJv3DkzOmTC/G6fC8/Pwm7+hZTD425l0VvA6CQEah56t5YLLFlxK/YfA9lmNR3P+ 0F/RLj6WlJTkVOzdUQvKBtFfHWNwm6rzzVZm8Q05gCI5sxen/x/FL+9BZZURAJMYMBXQ zhT6mR4VVzL9UU4O3JLHEBajnz5zjs8loNiCRwunJyAxuXJhItMa79JBV8eIiMS5Bjcw t5tmFrMifYcwYdtlwXotcZ33mAdJvgzN5Fu7XdZVSa7SecfUwoqULoVJqtt4l/Xwi2M2 fdHg== X-Gm-Message-State: ALoCoQkVTnGBhfoHYvex2Cqv2r2vhJLws1IHGu5BUnIv0MDZaLdRuHmBY1NeaFmaJDjUVma5nDo2 X-Received: by 10.70.90.11 with SMTP id bs11mr317069pdb.16.1417537384070; Tue, 02 Dec 2014 08:23:04 -0800 (PST) Received: from [10.64.24.134] ([69.53.236.236]) by mx.google.com with ESMTPSA id i11sm20684571pbq.23.2014.12.02.08.23.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 08:23:03 -0800 (PST) Sender: Warner Losh From: Warner Losh X-Google-Original-From: Warner Losh Subject: Re: External toolchain support Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_DE46B784-C222-4EA1-87A9-8C784392417C"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 In-Reply-To: <20141202083132.GB35285@ivaldir.etoilebsd.net> Date: Tue, 2 Dec 2014 09:23:00 -0700 Message-Id: <836E78AA-6ED5-4E29-A3CE-1D866592A55E@netflix.com> References: <20141129150440.GC88765@ivaldir.etoilebsd.net> <20141202083132.GB35285@ivaldir.etoilebsd.net> To: Baptiste Daroussin X-Mailer: Apple Mail (2.1993) 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:23:11 -0000 --Apple-Mail=_DE46B784-C222-4EA1-87A9-8C784392417C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > 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 = wrote: >>>=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 = running 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) Cool. I also ported the arm patches as well. I thought I=E2=80=99d sent = them 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. Warner --Apple-Mail=_DE46B784-C222-4EA1-87A9-8C784392417C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUfedlAAoJEGwc0Sh9sBEAD6AQAOgBaBdMgWLIrfNYedQv5cvD QiiUK8Y15IYWX0QSg0Z3ueauj+kwpzzG899FnyCzqXYPYw5ZhLN+uGUrQakhmpDv 1nPzw3Pz3fAcMkoJx4QOX1Ub3bv6gK2eJr2/84xrt8MCwCjDKLTna1qxs3M9iIzt NT4Ybbt4HGQHipRkXM2Ln3BStM9kIf0MvyhZz/eX/QE/w/tSDmsTPoXLto1H9EG5 kSTlh2SDqQ6tjuvisFb22gLhLtAeMLAb3XrYWmeqDBK3SWekaFfjIT3jrXRTgGW1 Z6nW8iWaxYzaBvQMLIiE7Uxj+uT94I5bwe9rJ7826OjduZsMytqqTCKDouYnRfSP X5Fk4n/LmqHT566PYWgDJQAsRMSoMmPiRnQYrXZQduX9HecLqi9LqHL5siDWeyyZ Biq7aR6h7S65znHY7lUgra3rOkChKwhQej1B9sYk5CCo7Dc3iu6tL8AD6gcve2bv kRk3Dfky4evDOQybQlBVMR8ABv6De4+Tgrq4JdYqCG324I9mFroVxi7bWyB0ainc 7SEyfzb55Uap88AnVqUlYLPocK4hgELM21hJzr4lxITZb0kNHCqn5iezBtITX8yP H4C724Btzy/EyVdn8TYkoForyn+07j8UFaP0Ab8VxAANajrsHmnSHUbcmvx02/ew Lil/RY9t2IypbA2oLkbB =rcIx -----END PGP SIGNATURE----- --Apple-Mail=_DE46B784-C222-4EA1-87A9-8C784392417C--