Hi,

I am currently playing with clang-3.0svn (and llvm) and mesa-from-git
builds just fine.
( I tried also -O3 as {C,CXX}FLAGS and so on. )

Unfortunately, when turning on "--enable-glx-tls", I see warnings like this:
...
In file included from glapi_dispatch.c:40:
In file included from ../../../src/mapi/glapi/glapi_priv.h:52:
../../../src/mapi/glapi/glapi.h:84:20: warning: unknown attribute
'tls_model' ignored [-Wunknown-attributes]
    __attribute__((tls_model("initial-exec")));
                   ^
../../../src/mapi/glapi/glapi.h:87:20: warning: unknown attribute
'tls_model' ignored [-Wunknown-attributes]
    __attribute__((tls_model("initial-exec")));
                   ^
2 warnings generated.
...

Just FYI:
Debian builds its xserver with "--enable-glx-tls", too (and IIRC this
is a pre-condition for mesa).

If this info matters: I am here on Debian's xorg-server-1.10.0.901 (1.10.1 RC1).
( BTW, -O2 or -O3 does not matter. )

I have attached my full build.log.

Regards,
- Sedat -

Attachment: mesa-with-clang.log.xz
Description: Binary data

Attachment: mesa-with-clang.log.xz.sha256sum
Description: Binary data

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to