Date: Tue, 6 Dec 2016 20:44:40 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309656 - head/lib/clang/libllvmminimal Message-ID: <201612062044.uB6KieNT066700@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Tue Dec 6 20:44:40 2016 New Revision: 309656 URL: https://svnweb.freebsd.org/changeset/base/309656 Log: During the bootstrap phase, when building the minimal llvm library on PowerPC, add lib/Support/Atomic.cpp. This is needed because upstream llvm revision r271821 disabled the use of std::call_once, which causes some fallback functions from Atomic.cpp to be used instead. Reported by: Mark Millard PR: 214902 X-MFC-With: 309124 Modified: head/lib/clang/libllvmminimal/Makefile Modified: head/lib/clang/libllvmminimal/Makefile ============================================================================== --- head/lib/clang/libllvmminimal/Makefile Tue Dec 6 19:40:37 2016 (r309655) +++ head/lib/clang/libllvmminimal/Makefile Tue Dec 6 20:44:40 2016 (r309656) @@ -7,6 +7,9 @@ INTERNALLIB= SRCDIR= lib SRCS+= Support/APInt.cpp +.if ${MACHINE_ARCH:Mpowerpc*} != "" +SRCS+= Support/Atomic.cpp +.endif SRCS+= Support/CommandLine.cpp SRCS+= Support/ConvertUTF.c SRCS+= Support/ConvertUTFWrapper.cpp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612062044.uB6KieNT066700>