External toolchain support

Baptiste Daroussin bapt at FreeBSD.org
Tue Dec 2 16:40:10 UTC 2014


On Tue, Dec 02, 2014 at 09:23:00AM -0700, Warner Losh wrote:
> 
> > On Dec 2, 2014, at 1:31 AM, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> > 
> > On Mon, Dec 01, 2014 at 10:05:29PM -0700, Warner Losh wrote:
> >> 
> >>> On Nov 29, 2014, at 8:04 AM, Baptiste Daroussin <bapt at 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)
> 
> Cool. I also ported the arm patches as well. I thought I’d 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.
> 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20141202/5ee6f98b/attachment.sig>


More information about the freebsd-current mailing list