Building Clang 8/9 in El Capitan

Christian Calderon calderonchristian73 at
Fri Feb 12 14:25:45 UTC 2021

Hello MacPorts Users!

I’m trying to build Clang in El Capitan 10.11.6. The machine is an 8 core 2008 Mac Pro with 64GB of RAM, and I’ve got Xcode 7.3 and the corresponding Command Line Tools installed, as well as the latest version of MacPorts.

When I tried building the port clang-9.0, the build failed because the clang provided by Apple in Xcode 7.3 doesn’t support thread local storage. So I figured I’d try building clang-8.0 and then I could specify to MacPorts to use that compiler to build clang-9.0.

But building clang-8.0 failed as well. This time there isn’t a helpful error message, it just fails at 89% through.

I know that Xcode 8 has a newer version of clang but I don’t want to install it because it lacks the 10.11 SDK which some ports require.

Has anyone run into this problem before?

~ Christian Calderon

More information about the macports-users mailing list