llvm and mips64

Dimitry Andric dim at FreeBSD.org
Wed Aug 26 18:45:03 UTC 2020


On 26 Aug 2020, at 13:27, tech-lists <tech-lists at zyxst.net> wrote:
> 
> 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=yes, MK_CLANG_BOOTSTRAP=yes and MK_CLANG_IS_CC=yes 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20200826/5007059a/attachment.sig>


More information about the freebsd-hackers mailing list