centos7交叉编译aarch64
吉米海:
../sysdeps/aarch64/nptl/tls.h:105:46: 错误:__builtin_thread_pointer is not supported on this target
((struct pthread *)__builtin_thread_pointer () - 1)
^
libc-start.c:279:30: 附注:in expansion of macro ‘THREAD_SELF’
struct pthread *self = THREAD_SELF;
^
make[2]: *** [/home/zsapp/tool/build-glibc/csu/check_fds.o] 错误 1
make[2]: *** [/home/zsapp/tool/build-glibc/csu/libc-start.o] 错误 1
In file included from ../include/errno.h:27:0,
from ../csu/libc-tls.c:19,
from ../sysdeps/aarch64/libc-tls.c:19:
../sysdeps/aarch64/libc-tls.c: 在函数‘__tls_get_addr’中:
../sysdeps/aarch64/nptl/tls.h:101:44: 错误:__builtin_thread_pointer is not supported on this target
(((tcbhead_t *) __builtin_thread_pointer ())->dtv)
^
../sysdeps/aarch64/libc-tls.c:30:16: 附注:in expansion of macro ‘THREAD_DTV’
dtv_t *dtv = THREAD_DTV ();
^
make[2]: ***
|