Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 15:04:29 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Astrodog <astrodog@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD
Message-ID:  <20100531120429.GU83316@deviant.kiev.zoral.com.ua>
In-Reply-To: <AANLkTimwPBwPHXrURK81M9XVfdWYqs5yCoW2V3czqryW@mail.gmail.com>
References:  <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <20100531095617.GR83316@deviant.kiev.zoral.com.ua> <20100531102452.GA33192@freebsd.org> <20100531104631.GT83316@deviant.kiev.zoral.com.ua> <20100531113950.GA44552@freebsd.org> <AANLkTimwPBwPHXrURK81M9XVfdWYqs5yCoW2V3czqryW@mail.gmail.com>

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

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

On Mon, May 31, 2010 at 06:55:17AM -0500, Astrodog wrote:
> On Mon, May 31, 2010 at 6:39 AM, Roman Divacky <rdivacky@freebsd.org> wro=
te:
> >> > people are already experimenting with clang installed from ports,
> >> > with gcc4.{3,4,5} from ports etc. by not importing clang we can
> >> > maybe delay this a little but it's coming anyway.
> >> I am pretty much fine and happy with people experimenting with clang
> >> or any other compilers from ports, custom built, whatever. This is very
> >> different from importing some compiler into base. See below about "sig=
nal".
> >
> > what I wanted to say is that we can get problem reports from people usi=
ng
> > other compilers than our stock gcc even today.
> >
> >> > > Rather, I would consider the changes to ease the use of any extern=
al
> >> > > compiler, from ports or whatever, bent into shape and kept up to d=
ate
> >> > > with system progress very important, much less controversial and m=
ore
> >> > > useful. Then, addicts of any kool-aid-compiler can drink their pot=
ion
> >> > > without starting undesired relations. Unfortunately, this is not w=
hat
> >> > > happen.
> >> >
> >> > this is orthogonal to this. we as a project aim for delivering compl=
ete
> >> > operating system and we just need a system compiler. gcc4.2.1 just
> >> > cant serve us anymore, we need to do something now.
> >> Please describe why gcc in base cannot serve us anymore while served up
> >> to the minute I got your message.
> >
> > that was summarized in a beautiful way by Scott Long :)
> >
>=20
> I don't think this is really a question of "Can gcc work in base right
> now?". Everyone knows it can, because that's what's actually being
> used at this very moment. At the same time, I don't think there's any
> real argument in saying that eventually FreeBSD will have to switch to
> either a new compiler, or a new version of gcc, with the GPLv3
> nightmare that could entail (Maybe that's a few years from now, I have
> no idea, but it's still going to need to happen, and its not as though
> switching will get easier with time.) From my perspective, there seem
> to be two real questions:
>=20
> First, are the two compilers mutually exclusive? (I don't believe they ar=
e.)
> Second, is there a particular reason not to do this now, that will not
> exist later? (I'm not that current on what's going on.. but from what
> I can tell, my thought here is no, too.)
>=20
> It's not as though this is irreversible. It's always possible to make
> the change, realize clang won't cut it just yet, and switch back a few
> hours/days/weeks/whatever later. Or, like I said earlier, if it's
> possible, run both.

See, there is no objection to the idea that clang can and may eventually
displace gcc in the base. This is not the subject of the thread.

The question is whether it is beneficial for FreeBSD to import
infrastructure to ease the clang-in-base spins up to the point where
user can set one variable before the build, right now.

=46rom what it was claimed, even without the import, users can install
whatever compiler from ports, set CC and start the build. Essentially,
the import blesses the clang and its current state as ready for wide use.

--/8/Dgwb8IINn6cIc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkwDpc0ACgkQC3+MBN1Mb4gTEgCeNSogc9EjDDgHKd6TtoSdoFf9
dyMAn2EyfgVeTtREwp7TIrvacMq0ZJW3
=TyG/
-----END PGP SIGNATURE-----

--/8/Dgwb8IINn6cIc--



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