From owner-svn-src-projects@FreeBSD.ORG Wed Dec 31 18:11:10 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E0C5BE45; Wed, 31 Dec 2014 18:11:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2D9928F9; Wed, 31 Dec 2014 18:11:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBVIBAgT081095; Wed, 31 Dec 2014 18:11:10 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBVIBANE081094; Wed, 31 Dec 2014 18:11:10 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201412311811.sBVIBANE081094@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Wed, 31 Dec 2014 18:11:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r276475 - projects/clang350-import X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 18:11:11 -0000 Author: dim Date: Wed Dec 31 18:11:09 2014 New Revision: 276475 URL: https://svnweb.freebsd.org/changeset/base/276475 Log: Some minor changes to UPDATING. Modified: projects/clang350-import/UPDATING Modified: projects/clang350-import/UPDATING ============================================================================== --- projects/clang350-import/UPDATING Wed Dec 31 17:44:57 2014 (r276474) +++ projects/clang350-import/UPDATING Wed Dec 31 18:11:09 2014 (r276475) @@ -34,18 +34,17 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 20141231: Clang, llvm and lldb have been upgraded to 3.5.0 release. - As of this release, a prerequisite for building llvm and clang is a - C++11 capable compiler and C++11 standard library. This means that to + As of this release, a prerequisite for building clang, llvm and lldb is + a C++11 capable compiler and C++11 standard library. This means that to be able to successfully build the cross-tools stage of buildworld, with clang as the bootstrap compiler, your system compiler or cross compiler should either be clang 3.3 or later, or gcc 4.8 or later, and your system C++ library should be libc++, or libdstdc++ from gcc 4.8 or later. - On any earlier standard FreeBSD 10.x or 11.x installation, where clang - and libc++ are on by default (that is, on x86 or arm), this should work - out of the box, unless you explicitly disabled clang or libc++. In that - case, you must re-enable, build and install both of those first. + On any standard FreeBSD 10.x or 11.x installation, where clang and + libc++ are on by default (that is, on x86 or arm), this should work out + of the box. On 9.x installations where clang is enabled by default, e.g. on x86 and powerpc, libc++ will not be enabled by default, so libc++ should be @@ -55,6 +54,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 On 8.x and earlier installations, upgrade to 9.x first, and then follow the instructions for 9.x above. + Sparc64 and mips users are unaffected, as they still use gcc 4.2.1 by + default, and do not build clang. + + Many embedded systems are resource constrained, and will not be able to + build clang in a reasonable time, or in some cases at all. In those + cases, cross building bootable systems on amd64 is a workaround. + This new version of clang introduces a number of new warnings, of which the following are most likely to appear: