[MacPorts] #53184: A cxx11-compatible clang compiler on 10.5 PPC ?Some progress...

MacPorts noreply at macports.org
Sat Jun 3 23:59:42 UTC 2017


#53184: A cxx11-compatible clang compiler on 10.5 PPC ?Some progress...
---------------------+-----------------------------
  Reporter:  kencu   |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  leopard powerpc
      Port:          |
---------------------+-----------------------------

Comment (by kencu):

 On the niche clang-on-ppc front, comes some progress I wasn't certain
 would ever be possible.

 Indeed however, clang-3.8 and llvm-3.8 do in the end build, install, and
 function to build and install working ports on 10.4 PPC Tiger without too
 much trouble.

 {{{
 $ port -v installed clang-3.8 llvm-3.8
 The following ports are currently installed:
   clang-3.8 @3.8.1_8+analyzer (active) platform='darwin 8' archs='ppc'
 date='2017-06-03T16:14:41-0700'
   llvm-3.8 @3.8.1_3 (active) platform='darwin 8' archs='ppc'
 date='2017-06-03T01:16:16-0700'

 $ clang --version
 clang version 3.8.1 (tags/RELEASE_381/final)
 Target: powerpc-apple-darwin8.11.0
 Thread model: posix
 InstalledDir: /opt/local/libexec/llvm-3.8/bin
 }}}

 The same potholes about exceptions are likely still present -- although if
 backended with libstdc++ from gcc perhaps there will be better luck.

 I've completed backporting the libgcc5abi compatability functions from
 clang-3.9+ into clang-3.8 with the kind help from Debian patches that did
 the heavy lifting, and also backed Marcus' macports-libstdc++
 modifications into clang-3.8, so for the moment, the system can use
 libstdc++ from gcc6. Libc++ might be next.

 The last linker in MacPorts for Tiger is ld-97, but a kind soul has
 already ported ld64 versions in the 200's to PPC, so hopefully we can get
 at least ld64-136 working, and maybe something newer.

--
Ticket URL: <https://trac.macports.org/ticket/53184#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list