Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2014 09:31:33 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Warner Losh <wlosh@netflix.com>
Cc:        current@FreeBSD.org
Subject:   Re: External toolchain support
Message-ID:  <20141202083132.GB35285@ivaldir.etoilebsd.net>
In-Reply-To: <F29A9EDB-A3DF-4D63-9EC4-598F64675416@gmail.com>
References:  <20141129150440.GC88765@ivaldir.etoilebsd.net> <F29A9EDB-A3DF-4D63-9EC4-598F64675416@gmail.com>

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

[-- Attachment #1 --]
On Mon, Dec 01, 2014 at 10:05:29PM -0700, Warner Losh wrote:
> 
> > On Nov 29, 2014, at 8:04 AM, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> > 
> > Hi all,
> > 
> > It is now possible to use an external toolchain to build the kernel and base
> > (tested with gcc 4.9.1 and latest binutils)
> > 
> > Of course a lot of work is needed to make it build cleanly (aka lots of warning
> > to fix).
> > 
> > What have been tested so far:
> > - sparc64 kernel + world
> > - amd64 kernel + world
> > - powerpc64 kernel + world
> > 
> > mips cannot be tested because upstream gcc never heard of FreeBSD running on
> > mips, and I did not receive any patches for mips.
> 
> 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)
> 
[...snip...]
> > 
> > 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-error= and
> > fix the issue they are hidding!
> 
> Cool. Please coordinate with me before removing the -Wno-error because they vary by
> architecture.
> 
Sure that was implied or build with all supported toolchains.

regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlR9eOQACgkQ8kTtMUmk6EwCpQCeMNC+WRdEXXif/JFCKUsDM4Kg
A90AnR+yEH66rr1uhs84/lj3p1gA+vab
=cmqS
-----END PGP SIGNATURE-----

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