From owner-freebsd-questions@FreeBSD.ORG Sun Sep 1 08:04:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DEA1272C for ; Sun, 1 Sep 2013 08:04:06 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm12-vm0.bullet.mail.ird.yahoo.com (nm12-vm0.bullet.mail.ird.yahoo.com [77.238.189.196]) by mx1.freebsd.org (Postfix) with SMTP id 1DC1B2CB2 for ; Sun, 1 Sep 2013 08:04:05 +0000 (UTC) Received: from [77.238.189.234] by nm12.bullet.mail.ird.yahoo.com with NNFMP; 01 Sep 2013 08:04:01 -0000 Received: from [46.228.39.78] by tm15.bullet.mail.ird.yahoo.com with NNFMP; 01 Sep 2013 08:04:01 -0000 Received: from [127.0.0.1] by smtp115.mail.ir2.yahoo.com with NNFMP; 01 Sep 2013 08:04:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1378022641; bh=lxtuBbVut3gHzaQ6Qdpcp4wk+0eJlDKlkhcG2SbxJsI=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=tdgbxnUYmg7g6ZygRJr7AmwY76eaFHjXt8oFWxrxjWICjs2fyitLONnKp2olqMK7YhbRgaCkoIisnkvopRWK2iL5c25qWpGDjQjvCy4vakLIEfyqa2cIRx0mYNTTLeovTN3TF0WeaGQbvMfNOfXGDQqs8d9Qbt1VU+Qnl7lSuO4= X-Yahoo-Newman-Id: 358584.86382.bm@smtp115.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: zvTTH44VM1kCYQHdKfT1eemK.apI2IfUhka9eLQwHmuBjjg NjfkktzzhikAfktGimj7aC2gRp_4iRrtyZ4Eh7hdEjTaj1djQ0utPYnaZZ1u dlS6VnkaB_QutDjMQwkFaaNDLZNLxvr64FVfVwI_m_qgr9wdxvE8PI5TK0j0 sgANggM70mUhOhsS6KfR.EIqaYTKsoDOZyMEK11Za4iz9J98kMDTsrf_llei X5yYHFGQIFUn7gdOV4DdC3NKoEig6lmj1lD.Orgq0gKYocm8Ky9pcXpcRy7p awuDqPkKCWjvw34QUfbY8tkp7JgXMNAU.m45eXO6w4kKznoIYudLrdPlQ4xV 3CfAhRGYQvBcrOTaalgnX_p0RTQTtLwJVir7sLi7aoS6yV85EOKDCSDvLVq8 92pKGM7y0wBCiQPUiDOM0MtqJ6VkmAP_EiyILURnKWhPcQVIuirSRTTW640k npmUBb.dW9TM68q_wnG8nz96_caXxMd5urcpIgm4zXQnsqgiN8QTungvT X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with ) by smtp115.mail.ir2.yahoo.com with SMTP; 01 Sep 2013 08:04:01 +0000 UTC Date: Sun, 1 Sep 2013 10:03:58 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: TLS Range on current thread Message-Id: <20130901100358.0e2cde97154cf88374f4cf5b@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 08:04:06 -0000 On Thu, 29 Aug 2013 22:31:43 +1000 Sumit Raja wrote: > Hi, > > I want to add support to the LDC D compiler for FreeBSD, the current > version of D has moved to TLS by default. The__tls_get_addr method links > correctly but this crashes at runtime on garbage collection as the address > range could wrong. > > What is the best way to determine the address range for the TLS segment for > the current thread? I don't know the answer, sorry. But if you don't get any answer from this list, you can try at freebsd-hackers list, there is where developers, gurus and other kinds of "monsters" reside. > > Thanks > > Sumit --- --- Eduardo Morras