From owner-freebsd-sparc64@FreeBSD.ORG Fri Sep 1 23:41:02 2006 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A4D316A4DA for ; Fri, 1 Sep 2006 23:41:02 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD7F243D46 for ; Fri, 1 Sep 2006 23:41:01 +0000 (GMT) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/8.12.11/smtpout03/MantshX 4.0) with ESMTP id k81NfCIu004585; Fri, 1 Sep 2006 16:41:13 -0700 (PDT) Received: from [192.168.1.5] (palnai12-696.corp.hp.com [15.244.194.184]) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 4.0) with ESMTP id k81NevD6022562 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Fri, 1 Sep 2006 16:40:59 -0700 (PDT) In-Reply-To: <20060901145900.B97855@demos.bsdclusters.com> References: <80928ADC-9063-4FD2-90C7-6E87D7041617@mac.com> <20060901145900.B97855@demos.bsdclusters.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6FFF8FD6-699A-4A85-8FC6-BD1CE8108BD8@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Fri, 1 Sep 2006 16:40:20 -0700 To: Kip Macy X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAQAAA+k= X-Language-Identified: TRUE Cc: sparc64@freebsd.org Subject: Re: Thread Local Storage X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 23:41:02 -0000 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 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