This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 4.7.2 TLS on AIX 6.1 (ppc) ?
On Tue, Mar 12, 2013 at 3:06 PM, Jason Vas Dias
<jason.vas.dias@gmail.com> wrote:
> But why didn't the compiler complain that TLS was not supported ?
> Shouldn't it be doing so ? It is definitely not OK in my book for gcc
> to finish compilation and linkage with no errors or warnings, when
> it has encountered a __thread usage that it must know will have no
> effect.
>
> And isn't there an easier way to determine if TLS is enabled or not
> than by compiling a test program ?
It is enabled. It is working. It is using the pthreads emulation.
- David