[MacPorts] #54643: Mesa at 17.1.6 fails to build with Apple GCC 4.2 on PPC Leopard, Mac OS X 10.6.8, because "thread-local storage not supported for this target"
MacPorts
noreply at macports.org
Sat Aug 19 21:56:12 UTC 2017
#54643: Mesa at 17.1.6 fails to build with Apple GCC 4.2 on PPC Leopard, Mac OS X
10.6.8, because "thread-local storage not supported for this target"
------------------------+----------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: leopard,
Port: mesa |
------------------------+----------------------
Comment (by kencu):
You can't reliably combine c++ ports built with libc++ and gcc's libstdc++
without eventually running into some kind of disaster, especially when you
have something that is as integrated into other ports as much as `mesa`
is. So you should build it with clang, and disable TLS.
To build mesa on 10.6 with libc++, the following additions to the portfile
are necessary, but not sufficient:
{{{
configure.args-append --disable-llvm-shared-libs
configure.args-append --disable-glx-tls
configure.cppflags-append -DO_CLOEXEC=0
}}}
after doing the steps mentioned, it will still fail to build due to
[ticket:54638], which so far has no solution.
--
Ticket URL: <https://trac.macports.org/ticket/54643#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list