Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 14:00:19 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Sean Bruno <sbruno@freebsd.org>, freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: Building and Iterating
Message-ID:  <686cb08d-5648-52f4-a95e-2faf3ea20bef@FreeBSD.org>
In-Reply-To: <cd5d5e25-34e8-5b1b-c764-affbeabf2ea8@freebsd.org>
References:  <cd5d5e25-34e8-5b1b-c764-affbeabf2ea8@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--cLS3T9X7IqLoQtZMLERtUmJsi9LnicwMk
Content-Type: multipart/mixed; boundary="8eBa8skDHXSIIPJNoKMIHyazfgNjOFlP0";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Sean Bruno <sbruno@freebsd.org>, freebsd-arch <freebsd-arch@freebsd.org>
Message-ID: <686cb08d-5648-52f4-a95e-2faf3ea20bef@FreeBSD.org>
Subject: Re: Building and Iterating
References: <cd5d5e25-34e8-5b1b-c764-affbeabf2ea8@freebsd.org>
In-Reply-To: <cd5d5e25-34e8-5b1b-c764-affbeabf2ea8@freebsd.org>

--8eBa8skDHXSIIPJNoKMIHyazfgNjOFlP0
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 6/1/2018 10:20 AM, Sean Bruno wrote:
> Before I dive into the mk files of a buildworld, I'd like to describe
> "what I want" so as to start a discussion of my goal.
>=20
> 1.  If I select no toolchain (WITHOUT_TOOLCHAIN), but clang needs to be=

> built, only build a toolchain that targets the ARCH being requested.
>=20
> 2.  If I select no toolchain (WITHOUT_TOOLCHAIN), but clang needs to be=

> built, give me a knob to turn that aborts the build with a meaningful
> message that lets me know I need to update the toolchain on my buildbox=
=2E
>=20

https://reviews.freebsd.org/D11077 has this but I suspect it's wildly
stale already.

Also having a knob like this would ultimately lead to someone making
their /usr/bin/cc less useful for optimizations like WITH_SYSTEM_COMPILER=
=2E

> 3.  If the boostrap toolchain needs to be built in the normal case, onl=
y
> target the ARCH being requested.  I understand that we "want" a CC
> installed that targets all architectures and this is something I agree =
with.
>=20

Hm yes there is no real reason to have multi-arch support in the
WORLDTMP compiler.  Though I do have a pending patch to build clang
*once* for universe that relies on this full-arch-support behavior but
I'm sure it's trivial to continue using it for that piece.


--=20
Regards,
Bryan Drewery


--8eBa8skDHXSIIPJNoKMIHyazfgNjOFlP0--

--cLS3T9X7IqLoQtZMLERtUmJsi9LnicwMk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJbKsBjAAoJEDXXcbtuRpfPC3oIAKnAa82pAv8SjYXWlXb6Hfte
6aHj8IgezMljoMHs+qtUVqJe+lKmqaY82ap1TNxtxUARxJQtRQAqldRlJKT238p1
8EMhcGvVWCZS0VQHrLnOpTme9FoAuyBmze68a1WeJCnSHpy56gFoJqWjlxuu1Jqo
YtGeP5+GuxV6tOPOsdMgKQU1XvelESGe/+/iVCWl5OizRd8tF6I65YXJAGQYTRaB
m7SkGugwcfOI93s7TjN3EXSGtcz66dpmRCHcrLiDnR3KEPHdyH0ZTD6qX0KCOhO4
KJ4X7LQU+ZkRNfATRFa16Uctm65Hy6wHQm7nIBPCNveOcJdA9akNWYnefNRPk9s=
=U/J4
-----END PGP SIGNATURE-----

--cLS3T9X7IqLoQtZMLERtUmJsi9LnicwMk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?686cb08d-5648-52f4-a95e-2faf3ea20bef>