Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2016 09:40:17 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        current@FreeBSD.org, toolchain@FreeBSD.org
Subject:   WITH_SYSTEM_COMPILER: Skip Clang/GCC bootstrap [Critical note for Toolchain changes]
Message-ID:  <fc7b545b-a24c-8e82-9f77-1af7694d4aa2@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
In head is now the WITH_SYSTEM_COMPILER option.  It is off-by-default
for now but hopefully will be on-by-default relatively quickly.  It will
skip building the bootstrap Clang for
buildworld/kernel-toolchain/universe if /usr/bin/cc matches the tree.
It will also skip GCC if building for the same arch as the host system.
The Clang/GCC-to-by-installed will be still be built though.

See https://svnweb.freebsd.org/changeset/base/300354 for more details.

A critical note to toolchain developers, or anyone who touches the Clang
or GCC source files.  If you modify these files or add a new target
architecture into Clang, please bump the revision in the appropriate file=
:

Clang: lib/clang/include/clang/Basic/Version.inc FREEBSD_CC_VERSION
GCC: gnu/usr.bin/cc/cc_tools/freebsd-native.h FBSD_CC_VER

Still left todo:
 - Build one version of clang in universe if the WITH_SYSTEM_COMPILER
logic does not pass.

--=20
Regards,
Bryan Drewery



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc7b545b-a24c-8e82-9f77-1af7694d4aa2>