<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in WITHOUT_SYSTEM_COMPILER</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>6120aabd - Opportunistically skip building a cross-compiler with SYSTEM_COMPILER set.</title>
        <link>http://172.16.0.5:8080/history/freebsd-12.1/tools/build/options/WITHOUT_SYSTEM_COMPILER#6120aabd</link>
        <description>Opportunistically skip building a cross-compiler with SYSTEM_COMPILER set.This will still build the compiler for the target but will not build thebootstrap cross-compiler in the cross-tools phase.  Other toolchainbootstrapping, such as elftoolchan and binutils, currently still occurs.This will utilize the default CC (cc, /usr/bin/cc) as an external compiler.This is planned to be on-by-default eventually.This will utilize the __FreeBSD_cc_version compiler macro defined in thesource tree and compare it to CC&apos;s version.  If they match then thecross-compiler is skipped.  If [X]CC is an external compiler (absolutepath) or WITHOUT_CROSS_COMPILER is already set, then this logic is skipped.If the expected bootstrap compiler type no longer matches the found CCcompiler type (clang vs gcc), then the logic is skipped.  As an extrasafety check the version number is also compared from the compiler tothe tree version.Clang:  The macro FREEBSD_CC_VERSION is defined in:    lib/clang/include/clang/Basic/Version.inc  For clang -target will be used if TARGET_ARCH != MACHINE_ARCH.  This  is from the current external toolchain logic.  There is currently an  assumption that the host compiler can build the TARGET_ARCH.  This  will usually be the case since we don&apos;t conditionalize target arch  support in clang, but it will break when introducing new  architectures.  This problem is mitigated by incrementing the version  when adding new architectures.GCC:  The macro FBSD_CC_VER is defined in:    gnu/usr.bin/cc/cc_tools/freebsd-native.h  For GCC there is no simple -target support when TARGET_ARCH !=  MACHINE_ARCH.  In this case the opportunistic skip is not done.  If we  add proper support for this case in external toolchain logic then it  will be fine to enable.This relies on the macros being incremented whenever any change occursto these compilers that warrant rebuilding files.  It also should neverrepeat earlier values.Reviewed by:	brooks, bapt, impSponsored by:	EMC / Isilon Storage DivisionDifferential Revision:	https://reviews.freebsd.org/D6357

            List of files:
            /freebsd-12.1/tools/build/options/WITHOUT_SYSTEM_COMPILER</description>
        <pubDate>Sat, 21 May 2016 01:32:23 +0000</pubDate>
        <dc:creator>Bryan Drewery &lt;bdrewery@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
