Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 20:44:53 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: llvm and mips64
Message-ID:  <79BA45AF-E33A-4180-A2DE-0D7F25FB1018@FreeBSD.org>
In-Reply-To: <20200826112746.GE17289@bastion.zyxst.net>
References:  <20200826112746.GE17289@bastion.zyxst.net>

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

--Apple-Mail=_6D0E62B9-FF56-4650-A397-692301D83799
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 26 Aug 2020, at 13:27, tech-lists <tech-lists@zyxst.net> wrote:
>=20
> I read somewhere that mips64 moved from gcc toolchain to clang/llvm11? =
I
> think this was just for -current. Might be wrong about that.

On -current, gcc was removed from base, so the only choices left are to
use clang in base and gcc from ports.

On stable/12 and stable/11, clang is only enabled for aarch64, amd64,
arm, i386 and riscv (on 12). You will have to use base gcc or gcc from =
ports.


> If so, is it feasible at present to import it into a 12-stable mips64 =
poudriere jail? How would I go about it?

Import what? If you mean clang/llvm 11, I will MFC it in about 6 weeks,
provided the ports people don't kill me first. ;-)

If you want to attempt building 12-stable with clang, you will probably
have to use an external toolchain for bootstrapping, and set
MK_CLANG=3Dyes, MK_CLANG_BOOTSTRAP=3Dyes and MK_CLANG_IS_CC=3Dyes in =
your
src.conf, before building world. Then you should be able toinstall that
world into your poudriere jail.


> The issue right now for me is lots of ports want at least gcc9 to =
compile and
> gcc9 won't for mips64.

Won't what? Work, compile, install? I am unsure if there are any
pre-built packages available for mips64, but I would look for them, if
at all possible.

-Dimitry


--Apple-Mail=_6D0E62B9-FF56-4650-A397-692301D83799
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCX0atpQAKCRCwXqMKLiCW
o20SAKCZlYBxDiPM3+HUxqI1776Re34bgQCgpNjFAQie5oQ9/JvRtLNJp3Xg6Q8=
=emsT
-----END PGP SIGNATURE-----

--Apple-Mail=_6D0E62B9-FF56-4650-A397-692301D83799--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79BA45AF-E33A-4180-A2DE-0D7F25FB1018>