#36172: povray 3.7 fails with thread-local storage not supported ----------------------------+-------------------------------- Reporter: peyser.alex@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: povray | ----------------------------+-------------------------------- Comment (by peyser.alex@…):
You should report this problem to the developers of povray; they need to fix it to be compatible with GCC on OS X. You could point them to [http://lifecs.likai.org/2010/05/mac-os-x-thread-local-storage.html this page] which seems to explain the problem. It compiled fine for me on Mountain Lion with Xcode 4.4 and clang, so presumably clang does now have an implementation of thread-local storage (and that page does not mention that).
From the mailing lists, they've known about it for several years and have decided that that's not going to happen (fixing it to work on old gcc's). So apparently the resolution is that this port will only work with Xcode > 4, unless anyone happens to know a variety of gcc or clang from earlier versions where thread local variables have crept in. Clang-3.1 from macports fails here as well, using configure.compiler and configure.cxx. -- Ticket URL: <https://trac.macports.org/ticket/36172#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS