[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
Sun Aug 20 08:58:15 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: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: leopard
Port: mesa |
------------------------+----------------------
Comment (by ballapete):
Replying to [comment:3 kencu]:
> {{{
> configure.args-append --disable-llvm-shared-libs
> configure.args-append --disable-glx-tls
> configure.cppflags-append -DO_CLOEXEC=0
> }}}
Just to document the steps take with two configure arguments the failure
with `/opt/local/bin/gcc-apple-4.2` is:
{{{
disk_cache.c: In function 'disk_cache_create':
disk_cache.c:263: error: 'O_CLOEXEC' undeclared (first use in this
function)
disk_cache.c:263: error: (Each undeclared identifier is reported only once
disk_cache.c:263: error: for each function it appears in.)
disk_cache.c: In function 'choose_lru_file_matching':
disk_cache.c:465: warning: implicit declaration of function 'fstatat'
disk_cache.c: In function 'cache_put':
disk_cache.c:798: error: 'O_CLOEXEC' undeclared (first use in this
function)
disk_cache.c: In function 'disk_cache_get':
disk_cache.c:971: error: 'O_CLOEXEC' undeclared (first use in this
function)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54643#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list