Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 08:36:54 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Matthew Fleming <mdf@FreeBSD.org>, Brooks Davis <brooks@FreeBSD.org>, freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Building with gcc?
Message-ID:  <20131125133654.GE2310@glenbarber.us>
In-Reply-To: <65EE6ADD-78CB-4990-ABED-CCFCC4446C34@FreeBSD.org>
References:  <CAMBSHm-k%2B6md05aEJXLnGbbyg-WScseqLfjrpRutC4TFk7ir5Q@mail.gmail.com> <20131125013122.GE1627@glenbarber.us> <65EE6ADD-78CB-4990-ABED-CCFCC4446C34@FreeBSD.org>

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

--RpqchZ26BWispMcB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 25, 2013 at 01:59:03PM +0100, Dimitry Andric wrote:
> On 25 Nov 2013, at 02:31, Glen Barber <gjb@freebsd.org> wrote:
> > On Sun, Nov 24, 2013 at 05:28:05PM -0800, Matthew Fleming wrote:
> >> I'm trying to test a change to gcc, and I'd like to do a full
> >> buildworld/buildkernel using the gcc compiler.  So I added this to my
> >> /etc/src.conf (and make.conf, since I can't remember under which scena=
rios
> >> they're different):
> >>=20
> >> WITHOUT_CLANG=3DYES
> >> WITH_GCC=3DYES
> >> WITH_GNUCXX=3DYES
> >>=20
> >> and I started a buildworld.  It's currently building clang.
> >>=20
> >> Why is it building clang?
> >>=20
> >=20
> > You also want WITHOUT_CLANG_IS_CC=3DYES.  I have no reasonable explanat=
ion
> > for why it is different.
>=20
> WITHOUT_CLANG and WITHOUT_CLANG_IS_CC were decoupled in r256915 by brooks:
>=20
> "Stop conflating WITHOUT_CLANG with WITHOUT_CLANG_IS_CC.  This allows
> bootstrapping a copy of clang without building clang for the base system
> which is useful for nanobsd and similar setups.  It's still probably
> wrong to conflate what is installed as /usr/bin/cc with the selection
> of a bootstrap compiler under WITH*_CLANG_IS_CC, but that's for another
> day."
>=20
> I would still say that WITHOUT_CLANG implies that you cannot have clang
> as cc, so maybe it would be better to error out in this case?
>=20

Yes, that is what I meant by not having a reasonable explanation why.
If WITHOUT_CLANG is set, WITHOUT_CLANG_IS_CC should (as it was before)
be implied.

Glen


--RpqchZ26BWispMcB
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBCAAGBQJSk1J2AAoJELls3eqvi17Qi2UP/36esaOAq1yflWTcR6vndMCk
nJkJBZMFuw6kPEfYVJ919JfBhy3jWa2LhNlck46sjsa1CZzGMiSENvs2F3nj2Qyq
XtAOPS/HLhwJV6YjtaZ0J8jLR2X1QP73Q9ddN5UqBu+UB6oHy5RBWB0fYs/j1RRq
GLn/c+u5MlCmhjPGaOaub6UuQ8bV1p3xBECOkPPO+ydbJ6aK9O04V7dhkaH7NvRN
eulVacT4N8jj8H9G8Fx1jz4WG5tZ4fFvFZET+/HfPRo/D4I0FCMABaaTbliMuIQ1
LK2+hD2nMBNtQPQKWbl4YWs88hQst+ry+M/WyHHqZHwk8/mXJUcIRKlG4/ahLeiD
PVXsIBRUIWl0NNVBnw4yRgw20mHX60xnZVIvIdG+9xKQ6XE7svqvTEe+pfbtvWft
ET3ZAfntCosFrXTJvzngyh5qToT3zosXlh7aCvxv1Zl4ChDT3SCngmYjOEapmyBX
7RpftYbOzyXDJPXFgbSxCjQaOB7BOXTYHx4ng2qBLtcXEaAkaN6P7WhKLt5EKhjm
nZcSBFd3/5zMrEcTgV98ORkMAH9WQUKwTxx1ZIjofktNgqOXtL6XeHn5vrKaOyTY
YuLkb3BMT3grt46qvrlLVv0sctCDHOFvzgIDHk2eYgEsA1W4BG3J3+XPI/dmTjU8
Sa95OhHEiIKmDfd95vbq
=weGh
-----END PGP SIGNATURE-----

--RpqchZ26BWispMcB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131125133654.GE2310>