Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 16:41:39 +0100
From:      Ben Laurie <ben@links.org>
To:        hackers@FreeBSD.org
Subject:   tls_model in clang?
Message-ID:  <4E09F633.7040203@links.org>

next in thread | raw e-mail | index | archive | help
.../lib/libc/stdlib/malloc.c:1106:38: warning: unknown attribute
'tls_model' ignored [-Wattributes]
static __thread arena_t         *arenas_map TLS_MODEL;
                                            ^
.../lib/libc/stdlib/malloc.c:243:37: note: instantiated from:
#  define TLS_MODEL             __attribute__((tls_model("initial-exec")))

Any thoughts on what we should do under clang?

Given that things appear to work, perhaps just set TLS_MODEL to nothing?

-- 
http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E09F633.7040203>