mesa @17.1.6 build failed on Snow Leopard

Richard L. Hamilton rlhamil at smart.net
Fri Aug 18 02:13:04 UTC 2017


:info:build libtool: compile:  /opt/local/bin/clang-mp-3.9 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.6\" "-DPACKAGE_STRING=\"Mesa 17.1.6\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_DLADDR=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I../include/ -I../src/mapi/ -I../src/mesa/ -I../src/gallium/include -I../src/gallium/auxiliary -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_USE_APPLEGL -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DBUILDING_MESA -DENABLE_SHADER_CACHE -fvisibility=hidden -pipe -Os -arch x86_64 -arch i386 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math -Qunused-arguments -c mesa/main/imports.c  -fno-common -DPIC -o mesa/main/.libs/imports.o
:info:build In file included from mesa/main/extensions_table.c:26:
:info:build In file included from ../src/mesa/main/mtypes.h:43:
:info:build ../src/mapi/glapi/glapi.h:91:22: error: thread-local storage is not supported for the current target
:info:build _GLAPI_EXPORT extern __thread struct _glapi_table * _glapi_tls_Dispatch
:info:build                      ^
:info:build ../src/mapi/glapi/glapi.h:92:20: error: 'tls_model' attribute only applies to thread-local variables
:info:build     __attribute__((tls_model("initial-exec")));
:info:build                    ^
:info:build ../src/mapi/glapi/glapi.h:94:22: error: thread-local storage is not supported for the current target
:info:build _GLAPI_EXPORT extern __thread void * _glapi_tls_Context
:info:build                      ^
:info:build ../src/mapi/glapi/glapi.h:95:20: error: 'tls_model' attribute only applies to thread-local variables
:info:build     __attribute__((tls_model("initial-exec")));
:info:build                    ^
:info:build In file included from mesa/main/imports.c:49:
:info:build In file included from mesa/main/imports.h:44:
:info:build In file included from mesa/main/errors.h:43:
:info:build In file included from mesa/main/mtypes.h:43:
:info:build ../src/mapi/glapi/glapi.h:91:22: error: thread-local storage is not supported for the current target
:info:build _GLAPI_EXPORT extern __thread struct _glapi_table * _glapi_tls_Dispatch
:info:build                      ^
:info:build ../src/mapi/glapi/glapi.h:92:20: error: 'tls_model' attribute only applies to thread-local variables
:info:build     __attribute__((tls_model("initial-exec")));
:info:build                    ^
:info:build ../src/mapi/glapi/glapi.h:94:22: error: thread-local storage is not supported for the current target
:info:build _GLAPI_EXPORT extern __thread void * _glapi_tls_Context
:info:build                      ^
:info:build ../src/mapi/glapi/glapi.h:95:20: error: 'tls_model' attribute only applies to thread-local variables
:info:build     __attribute__((tls_model("initial-exec")));
:info:build                    ^
:info:build 4 errors generated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170817/0b2135e8/attachment.sig>


More information about the macports-users mailing list