clangBSD build error
ambrosehuang ambrose
ambrosehua at gmail.com
Wed May 19 16:12:39 UTC 2010
building clangBSD revision
URL: http://svn.freebsd.org/base/projects/clangbsd
Repository Root: http://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 208300
Node Kind: directory
Schedule: normal
Last Changed Author: rdivacky
Last Changed Rev: 208260
Last Changed Date: 2010-05-18 18:21:49 +0800 (Tue, 18 May 2010)
with llvm-devel(r103179) on freebsd 8 stable amd64 according to clangBSD
wiki failed with following message:
make -j4 buildworld
-------------------------------------------------------------------------------------------------------------------------------------------------
.......................
/usr/src.svn/src/lib/libc/stdlib/malloc.c:1098:38: error: 'tls_model'
attribute ignored
static __thread arena_t *arenas_map TLS_MODEL;
^
/usr/src.svn/src/lib/libc/stdlib/malloc.c:240:37: note: instantiated from:
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
^
/usr/src.svn/src/lib/libc/stdlib/malloc.c:1103:38: error: 'tls_model'
attribute ignored
static __thread tcache_t *tcache_tls TLS_MODEL;
^
/usr/src.svn/src/lib/libc/stdlib/malloc.c:240:37: note: instantiated from:
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
^
/usr/src.svn/src/lib/libc/stdlib/malloc.c:1122:37: error: 'tls_model'
attribute ignored
static __thread bool mmap_unaligned TLS_MODEL;
^
/usr/src.svn/src/lib/libc/stdlib/malloc.c:240:37: note: instantiated from:
# define TLS_MODEL __attribute__((tls_model("initial-exec")))
--------------------------------------------------------------------------------------------------------------------------------------------------
it seems that clang does NOT support tls_model attribute, I'm not sure.
Does anyone meet similar error ?
More information about the freebsd-current
mailing list