Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 2006 16:40:20 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Kip Macy <kmacy@fsmware.com>
Cc:        sparc64@freebsd.org
Subject:   Re: Thread Local Storage
Message-ID:  <6FFF8FD6-699A-4A85-8FC6-BD1CE8108BD8@mac.com>
In-Reply-To: <20060901145900.B97855@demos.bsdclusters.com>
References:  <80928ADC-9063-4FD2-90C7-6E87D7041617@mac.com> <20060901145900.B97855@demos.bsdclusters.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 1, 2006, at 3:01 PM, Kip Macy wrote:

> To the best of my knowledge no one is currently working on it. I think
> we're still waiting on an import of a more recent binutils which adds
> sun4v and TLS support.
>
> What else is missing? Thanks.

Hmmm, I didn't realize is was quite that bad:

\begin{verbatim}
u2% more tls.c
#include <stdio.h>

int __thread i = 4;

int
main()
{
         printf("%d\n", i);
         return (0);
}
\end{verbatim}

u2% cc -o tls tls.c
/usr/bin/ld: /var/tmp//ccDb7raY.o: check_relocs: unhandled reloc type 72
/var/tmp//ccDb7raY.o: could not read symbols: File format not recognized

:-/

-- 
Marcel Moolenaar
xcllnt@mac.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FFF8FD6-699A-4A85-8FC6-BD1CE8108BD8>