<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b89eabc8030c105f1ec023280bf4a584fd6b192e">https://github.com/macports/macports-ports/commit/b89eabc8030c105f1ec023280bf4a584fd6b192e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b89eabc llvm-{3.8,3.9,devel}: Blacklist Xcode 5's clang
</span>b89eabc is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b89eabc8030c105f1ec023280bf4a584fd6b192e
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Wed Dec 21 11:38:28 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> llvm-{3.8,3.9,devel}: Blacklist Xcode 5's clang
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The resulting clang was failing basic compilation tests, such as CMake's:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> clang version 3.8.1 (tags/RELEASE_381/final)
</span><span style='display:block; white-space:pre;color:#404040;'> Target: x86_64-apple-darwin12.6.0
</span><span style='display:block; white-space:pre;color:#404040;'> Thread model: posix
</span><span style='display:block; white-space:pre;color:#404040;'> InstalledDir: /opt/local/libexec/llvm-3.8/bin
</span><span style='display:block; white-space:pre;color:#404040;'> "/opt/local/libexec/llvm-3.8/bin/clang" -cc1 -triple x86_64-apple-macosx10.8.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -main-file-name CMakeCCompilerId.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 274.1 -v -dwarf-column-info -debugger-tuning=lldb -resource-dir /opt/local/libexec/llvm-3.8/bin/../lib/clang/3.8.1 -Os [...]
</span><span style='display:block; white-space:pre;color:#404040;'> clang -cc1 version 3.8.1 based upon LLVM 3.8.1 default target x86_64-apple-darwin12.6.0
</span><span style='display:block; white-space:pre;color:#404040;'> ignoring nonexistent directory "/usr/local/include"
</span><span style='display:block; white-space:pre;color:#404040;'> 0 libLLVM.dylib 0x000000010ae249e7 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 43
</span><span style='display:block; white-space:pre;color:#404040;'> 1 libLLVM.dylib 0x000000010ae242cb llvm::sys::RunSignalHandlers() + 44
</span><span style='display:block; white-space:pre;color:#404040;'> 2 libLLVM.dylib 0x000000010ae24dc3 SignalHandler(int) + 153
</span><span style='display:block; white-space:pre;color:#404040;'> 3 libsystem_c.dylib 0x00007fff87a0690a _sigtramp + 26
</span><span style='display:block; white-space:pre;color:#404040;'> 4 libsystem_c.dylib 0x0000000000000002 _sigtramp + 2019530514
</span><span style='display:block; white-space:pre;color:#404040;'> 5 libLLVM.dylib 0x000000010adedc07 llvm::SmallPtrSetImplBase::insert_imp(void const*) + 133
</span><span style='display:block; white-space:pre;color:#404040;'> 6 clang 0x0000000109da084e llvm::SmallPtrSetImpl<clang::DirectoryEntry const*>::insert(clang::DirectoryEntry const*) + 24
</span><span style='display:block; white-space:pre;color:#404040;'> 7 clang 0x0000000109da022e RemoveDuplicates(std::__1::vector<clang::DirectoryLookup, std::__1::allocator<clang::DirectoryLookup> >&, unsigned int, bool) + 309
</span><span style='display:block; white-space:pre;color:#404040;'> 8 clang 0x0000000109d9ec49 clang::ApplyHeaderSearchOptions(clang::HeaderSearch&, clang::HeaderSearchOptions const&, clang::LangOptions const&, llvm::Triple const&) + 4821
</span><span style='display:block; white-space:pre;color:#404040;'> 9 clang 0x0000000109d67800 clang::CompilerInstance::createPreprocessor(clang::TranslationUnitKind) + 1456
</span><span style='display:block; white-space:pre;color:#404040;'> 10 clang 0x0000000109d93d19 clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) + 2365
</span><span style='display:block; white-space:pre;color:#404040;'> 11 clang 0x0000000109d6a013 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 599
</span><span style='display:block; white-space:pre;color:#404040;'> 12 clang 0x0000000109dbcba1 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3273
</span><span style='display:block; white-space:pre;color:#404040;'> 13 clang 0x0000000109b0d685 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1243
</span><span style='display:block; white-space:pre;color:#404040;'> 14 clang 0x0000000109b0c942 main + 8084
</span><span style='display:block; white-space:pre;color:#404040;'> 15 libdyld.dylib 0x00007fff864127e1 start + 0
</span><span style='display:block; white-space:pre;color:#404040;'> Stack dump:
</span><span style='display:block; white-space:pre;color:#404040;'> 0. Program arguments: /opt/local/libexec/llvm-3.8/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -disable-free -disable-llvm-verifier -main-file-name CMakeCCompilerId.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 274.1 -v -dwarf-column-info -debugger-tuning=lldb -resource-dir /opt/local/libexec/llvm-3.8/bin/../l [...]
</span><span style='display:block; white-space:pre;color:#404040;'> clang: error: unable to execute command: Segmentation fault: 11
</span><span style='display:block; white-space:pre;color:#404040;'> clang: error: clang frontend command failed due to signal (use -v to see invocation)
</span><span style='display:block; white-space:pre;color:#404040;'> clang version 3.8.1 (tags/RELEASE_381/final)
</span><span style='display:block; white-space:pre;color:#404040;'> Target: x86_64-apple-darwin12.6.0
</span><span style='display:block; white-space:pre;color:#404040;'> Thread model: posix
</span><span style='display:block; white-space:pre;color:#404040;'> InstalledDir: /opt/local/libexec/llvm-3.8/bin
</span><span style='display:block; white-space:pre;color:#404040;'> clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> ---
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Rebuilding llvm-3.8 with macports-clang-3.7 addressed that problem.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
lang/llvm-3.8/Portfile | 9 +++++----
lang/llvm-3.9/Portfile | 11 ++++++-----
lang/llvm-devel/Portfile | 7 ++++---
3 files changed, 15 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.8/Portfile b/lang/llvm-3.8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 74dbc14..b038e46 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ PortGroup cmake 1.0
</span> set llvm_version 3.8
set llvm_version_no_dot 38
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> subport clang-${llvm_version} { revision 7 }
set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -235,12 +235,13 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> # XCode 4.3's clang (318.x) fails per https://trac.macports.org/ticket/44161
# XCode 4.5's clang (421.11.66) fails due to http://llvm.org/bugs/show_bug.cgi?id=20184
# Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist *gcc* {clang < 500}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 5.1's clang (clang-503.0.40) has codegen issues (resulting compiler crashes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist *gcc* {clang < 602}
</span>
if {${subport} eq "clang-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span> # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append {clang < 602} macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span> }
# blacklist current and future versions if they're not available in order to
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-3.9/Portfile b/lang/llvm-3.9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1cc367a..45d1db4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-3.9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-3.9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,8 +10,8 @@ PortGroup cmake 1.0
</span> set llvm_version 3.9
set llvm_version_no_dot 39
name llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-subport clang-${llvm_version} { revision 2 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport clang-${llvm_version} {}
</span> set suffix mp-${llvm_version}
set sub_prefix ${prefix}/libexec/llvm-${llvm_version}
dist_subdir llvm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -228,12 +228,13 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> # XCode 4.3's clang (318.x) fails per https://trac.macports.org/ticket/44161
# XCode 4.5's clang (421.11.66) fails due to http://llvm.org/bugs/show_bug.cgi?id=20184
# Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist *gcc* {clang < 500}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 5.1's clang (clang-503.0.40) has codegen issues (resulting compiler crashes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist *gcc* {clang < 602}
</span>
if {${subport} eq "clang-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span> # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append {clang < 602} macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span> }
# blacklist current and future versions if they're not available in order to
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-devel/Portfile b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f4264c6..7338b7b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -262,12 +262,13 @@ if {${subport} eq "llvm-${llvm_version}"} {
</span> # XCode 4.5's clang (421.11.66) fails due to http://llvm.org/bugs/show_bug.cgi?id=20184
# Xcode 4.6.3's clang (425.0.28) fails due to http://trac.macports.org/ticket/46897
# Xcode 4.6.3's clang (425.0.28) fails due to https://llvm.org/bugs/show_bug.cgi?id=30384
<span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist *gcc* {clang < 500}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 5.1's clang (clang-503.0.40) has codegen issues (resulting compiler crashes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist *gcc* {clang < 602}
</span>
if {${subport} eq "clang-${llvm_version}"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Xcode 6.2's clang (600.0.57) fails due to https://llvm.org/bugs/show_bug.cgi?id=25753
</span> # clang older than 3.5 fail due to https://llvm.org/bugs/show_bug.cgi?id=25753
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append {clang < 602} macports-clang-3.3 macports-clang-3.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append macports-clang-3.3 macports-clang-3.4
</span> }
# blacklist current and future versions if they're not available in order to
</pre><pre style='margin:0'>
</pre>