<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class=""><pre style="white-space: pre-wrap; background-color: rgb(255, 255, 255);" class="">Hi everyone,

I'm trying to install Clang 7.1 on a PowerMac. Clang 7.1 is important
because it has this bug fix:
<a href="https://bugs.llvm.org/show_bug.cgi?id=39704." class="">https://bugs.llvm.org/show_bug.cgi?id=39704.</a> The 39704 issue fixed
unaligned loads and stores for Altivec.

Clang 7.0 - which supports PPC - provides this error:

$ sudo port install clang-7.0
Error: clang-7.0 cannot be installed for the configured build_arch
'ppc' because it only supports the arch(s) 'i386 x86_64'.

Clang 7.1 results in an error:

$ sudo port install clang-7.1
Error: Port clang-7.1 not found

Would it be possible to update the configuration files to allow Clang
7.0 and 7.1 for PowerPC?

Jeff</pre></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">That version will not work on PowerPC, so we can’t enable it. All versions after that have had PowerPC support completely stripped / disabled by upstream.</div><div class=""><br class=""></div><div class="">There is, however, a version that almost works — it is not ABI compatible with any part of macOS, but it’s fun to play around with if you have nothing to do.</div><div class=""><br class=""></div><div class="">It’s not presently useful for anything other than playing, but it might be one day, with encouragement.</div><div class=""><br class=""></div><div class="">I have considered setting up a Portfile for it, but as it is just not ready, I didn’t bother.</div><div class=""><br class=""></div><div class="">There is also a nice version of ld64 > 250 included as well, that you can play with.</div><div class=""><br class=""></div><div class="">Do this separately from your MacPorts installation, or you will screw everything up really severely.</div><div class=""><br class=""></div><div class="">Have fun!</div><div class=""><br class=""></div><div class=""><<a href="https://github.com/iains/LLVM-7-branch" class="">https://github.com/iains/LLVM-7-branch</a>></div><div class=""><br class=""></div><div class="">Ken</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>