mesa @17.1.6 build failed on Snow Leopard
Ken Cunningham
ken.cunningham.webuse at gmail.com
Sat Aug 19 16:22:59 UTC 2017
Hi Richard,
I had to add the following to the mesa portfile on 10.6:
configure.args-append --disable-llvm-shared-libs
configure.args-append --disable-glx-tls
configure.cppflags-append -DO_CLOEXEC=0
to then get to this error (for which there is already a ticket):
disk_cache.c:465:11: error: implicit declaration of function 'fstatat' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (fstatat(dirfd(dir), entry->d_name, &sb, 0) == 0) {
^
we are now waiting for a rewrite of that call, or a replacement function for fstatat to come forth (quite likely, as many systems are affected).
Ken
On 2017-08-17, at 8:02 PM, Ken Cunningham wrote:
> Could be a problem -- 10.6 supports TLS only with gcc/libgcc at present. Not sure yet if Marcus' clang/libgcc tricks will allow TLS on 10.6.
>
> But I notice this, which could be helpful:
>
>> -DGLX_USE_TLS
>
> Might be possible to turn that off.
>
> K
>
>
More information about the macports-users
mailing list