Date: Sat, 8 Aug 2015 03:56:10 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: John Baldwin <jhb@freebsd.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Bill Sorenson <instructionset@gmail.com> Subject: Re: Sparc64 support Message-ID: <20150808015610.GL43782@ivaldir.etoilebsd.net> In-Reply-To: <CAJ-VmomyKJaVhBR5=Dny%2BUpKoV6wmJJGNR6UKgjWq0UBRz=sMQ@mail.gmail.com> References: <CACcTwYmS1c5uoO-WiJQDwgqYAevX7WZ7ZrP297hnOu7cNET3CA@mail.gmail.com> <7311511.ISQt3RZVgq@ralph.baldwin.cx> <CAJ-VmomyKJaVhBR5=Dny%2BUpKoV6wmJJGNR6UKgjWq0UBRz=sMQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Xb8pJpF45Qg/t7GZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 07, 2015 at 04:54:46PM -0700, Adrian Chadd wrote: > Hi, >=20 > I've tested it with mips/mips64. It works out mostly okay. There are > still rough edges, because in the mips world we have different > defaults in our base system gcc to what the current toolchain expects. > But at least for mips/mips64 it spits out a kernel and binaries that > work. >=20 > What I did to make the MIPS bits call the external toolchain: >=20 > make <existing options> NO_WERROR=3D1 CROSS_TOOLCHAIN=3Dmips-gcc buildwor= ld >=20 > .. so in theory the sparc64 stuff may just be: >=20 > pkg install sparc64-gcc sparc64-xtoolchain-gcc > make <existing stuff> NO_WERROR=3D1 CROSS_TOOLCHAIN=3Dsparc64-gcc buildwo= rld >=20 When I added the cross toolchain it was first tested on sparc64 and people reported that it built and run fine with it. This was with gcc 4.9, I haven't tested with 5.2 Bapt --Xb8pJpF45Qg/t7GZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlXFYboACgkQ8kTtMUmk6Ez1fACgmrXzjSFbotisEnvuonWBR7xj k90AoKzSvD6Ow8/q14NrceYZPdYRBXz2 =Llx7 -----END PGP SIGNATURE----- --Xb8pJpF45Qg/t7GZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150808015610.GL43782>