Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2014 17:40:05 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        current@FreeBSD.org
Subject:   Re: External toolchain support
Message-ID:  <20141202164005.GA50189@ivaldir.etoilebsd.net>
In-Reply-To: <836E78AA-6ED5-4E29-A3CE-1D866592A55E@netflix.com>
References:  <20141129150440.GC88765@ivaldir.etoilebsd.net> <F29A9EDB-A3DF-4D63-9EC4-598F64675416@gmail.com> <20141202083132.GB35285@ivaldir.etoilebsd.net> <836E78AA-6ED5-4E29-A3CE-1D866592A55E@netflix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bapt@FreeBSD.org> 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 <bapt@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141202164005.GA50189>