From owner-svn-src-all@freebsd.org Thu Mar 24 20:55:24 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF515ADC99B; Thu, 24 Mar 2016 20:55:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 9C94C1298; Thu, 24 Mar 2016 20:55:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2OKtNc2049132; Thu, 24 Mar 2016 20:55:23 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2OKtNCc049131; Thu, 24 Mar 2016 20:55:23 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201603242055.u2OKtNCc049131@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Thu, 24 Mar 2016 20:55:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r297244 - head/contrib/llvm/include/llvm/Support X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 20:55:24 -0000 Author: dim Date: Thu Mar 24 20:55:23 2016 New Revision: 297244 URL: https://svnweb.freebsd.org/changeset/base/297244 Log: Pull in r264335 from upstream llvm trunk: Add to ThreadPool.h, since std::atomic is used Summary: Apparently, when compiling with gcc 5.3.2 for powerpc64, the order of headers is such that it gets an error about std::atomic<> use in ThreadPool.h, since this header is not included explicitly. See also: https://llvm.org/bugs/show_bug.cgi?id=27058 Fix this by including . Patch by Bryan Drewery. Reviewers: chandlerc, joker.eph Subscribers: bdrewery, llvm-commits Differential Revision: http://reviews.llvm.org/D18460 Modified: head/contrib/llvm/include/llvm/Support/ThreadPool.h Modified: head/contrib/llvm/include/llvm/Support/ThreadPool.h ============================================================================== --- head/contrib/llvm/include/llvm/Support/ThreadPool.h Thu Mar 24 20:52:35 2016 (r297243) +++ head/contrib/llvm/include/llvm/Support/ThreadPool.h Thu Mar 24 20:55:23 2016 (r297244) @@ -33,6 +33,7 @@ #pragma warning(pop) #endif +#include #include #include #include