From owner-freebsd-hackers@freebsd.org Wed Aug 26 18:45:03 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6389C3B8227 for ; Wed, 26 Aug 2020 18:45:03 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BcFCg1zSqz4Syr; Wed, 26 Aug 2020 18:45:03 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 0C56D22EDD; Wed, 26 Aug 2020 18:45:03 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::9d13:595a:4fbd:9b05] (unknown [IPv6:2001:470:7a58:0:9d13:595a:4fbd:9b05]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 534F763C9C; Wed, 26 Aug 2020 20:45:01 +0200 (CEST) From: Dimitry Andric Message-Id: <79BA45AF-E33A-4180-A2DE-0D7F25FB1018@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_6D0E62B9-FF56-4650-A397-692301D83799"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: llvm and mips64 Date: Wed, 26 Aug 2020 20:44:53 +0200 In-Reply-To: <20200826112746.GE17289@bastion.zyxst.net> Cc: freebsd-hackers@freebsd.org To: tech-lists References: <20200826112746.GE17289@bastion.zyxst.net> X-Mailer: Apple Mail (2.3445.104.15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Aug 2020 18:45:03 -0000 --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 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--