Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 01:54:11 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-current@freebsd.org, Brooks Davis <brooks@FreeBSD.org>
Subject:   Re: WITHOUT_CLANG + WITHOUT_GCC vs XCC + WITHOUT_CROSS_COMPILER
Message-ID:  <229674360.20130518015411@serebryakov.spb.ru>
In-Reply-To: <FD22E076-B21B-496C-AE48-89CA2430A599@FreeBSD.org>
References:  <1713488536.20130518004618@serebryakov.spb.ru> <FD22E076-B21B-496C-AE48-89CA2430A599@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Dimitry.
You wrote 18 =D0=BC=D0=B0=D1=8F 2013 =D0=B3., 1:35:25:

>>  Do we need such mode?
DA> Well, if you are not interested in having any compilers (or toolchain
DA> components) in your final world, they should not be built, right?
  Yes, it is perfectly valid to build system without compiler at all,
IMHO. I mean, do we need mode, when "some" tools is used for
compilation, and compiler is not configured by hands (via new XCxx
variables) and not build at cross-tools stage.

  As I already said, I will be glad to see DIFFERENT knobs to
select stage-3-built (and later used) compiler (external, configured
explicitly via XCxx variables OR clang from sources OR gcc from
sources -- three variants, clang from sources by default, as it is
now) and other set of knobs (current WITHOUT_CLANG and WITHOUT_GCC) to
disable these compilers as parts of TARGET system, like WITHOUT_BIND
and others WITHOUT_xxx.

  These two+ compilers are different ones! And now we haven't any way
to control them separately. Or, really, we have half-backed control:
we could say "don't build cross-compiler, use external one", but we
have no way to say "build cross-compiler, but not target one". It
annoys me. But I afraid, I don't understand out build system well
enough to provide patches, sorry.

 BTW, there is no way not to build binutils, as "install -s" used on
"installworld" stage needs "strip".

>> Is current behavior (risky on, IMHO) Ok?
DA> No, obviously not.  If you build world with "old" system headers (for
DA> example when building head on stable/9), there will be trouble.
  Exactly!

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




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