Created attachment 177776 [details] build fixes for devel/llvm39 I recently did a build of llvm39 on powerpc64 using lang/gcc5 as the compiler. USES=compiler:c++11-lib is selecting GCC from ports already, just a few fixes are needed. I expect these fixes should benefit other Tier2 platforms but do not have hardware to verify. * Remove the BROKEN_powerpc64 line that was redundant anyway * For the case where compiler is !clang, i.e. GCC, instead of setting BROKEN, define _GLIBCXX_USE_C99 in order to expose std::to_string, std::stod, etc. * Add missing include of climit which clang seems to always pull in In the process of getting llvm39 building on ppc64, I also noticed one patch appears to have been carried over from llvm38 without being updated, so I corrected that as well.
A commit references this bug: Author: brooks Date: Fri Dec 9 19:03:09 UTC 2016 New revision: 428234 URL: https://svnweb.freebsd.org/changeset/ports/428234 Log: Allow build on non-clang using architectures such as powerpc. Mark broken on FreeBSD 9. This is somewhat more agressive than necessicary, but I'm not sure what the correct conditional is and 9.x is supported for 22 more days. Call the correct clang format. PR: 215135 Submitted by: matthew@reztek.cz Changes: head/devel/llvm39/Makefile head/devel/llvm39/files/clang-patch-tools_clang_tools_clang-format_clang-format.py head/devel/llvm39/files/lldb-patch-tools_lldb_source_Host_common_FileSpec.cpp
Committed. Thanks!