[MacPorts] #59717: clang >= 3.4: Unable to build/bootstrap on Intel Tiger

MacPorts noreply at macports.org
Wed Nov 20 22:40:30 UTC 2019


#59717: clang >= 3.4: Unable to build/bootstrap on Intel Tiger
-------------------------------------------------+-------------------------
  Reporter:  dgelessus                           |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:  tiger i386
      Port:  libcxx llvm-3.4 clang-3.4 llvm-3.7  |
  clang-3.7                                      |
-------------------------------------------------+-------------------------

Comment (by dgelessus):

 Thanks for the link to the patch, with that I was able to build clang-3.7.
 The compiler appears to be working (haven't tested much more than a C
 "Hello World" yet though), which I suppose confirms that my built libcxx
 is working?

 I'm now trying to build cmake, as it is required to build any newer clang
 version (including the clang-3.8 from your TigerPorts repo), and I'm
 having trouble finding a compiler that can build a working cmake. When
 building with GCC 6 or 7, the "initial CMake" binary crashes with a bus
 error. (These GCC versions are whitelisted by the cxx11 1.1 portgroup.)
 According to the comment at the top of the llvm-3.7 Portfile, Clang 3.7
 should be able to build a working CMake, but when built with that
 compiler, CMake still crashes like with GCC. I also tried Clang 3.4 just
 in case, but with that the build errors out somewhere in the libstdc++
 headers. (With a normal Tiger environment, Clang 3.4 and 3.7 wouldn't even
 be an option here anyway. The cmake port builds against MacPorts
 libstdcxx, which my Clang 3.4 and 3.7 only support because of my possibly
 broken patch to accept -stdlib=macports-libstdcxx.)

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


More information about the macports-tickets mailing list