From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Long Subject: Re: glibc patch for TLS? Date: Mon, 25 Apr 2005 11:47:30 -0500 Message-ID: <95cbc489050425094750817c69@mail.gmail.com> References: Reply-To: Michael Long Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com Cc: Nils Toedtmann , xen-devel List-Id: xen-devel@lists.xenproject.org Nope, that's what I forgot. I recompiled the patched glibc with that flag and everything seems to be working fine. I can post the ebuild if people are interested. It's pretty straightforward, just adding the patch and making for the CFLAGS get set properly. I'm now compiling all my packages with -mno-tls-direct-seg-refs. Is this necessary/recommended? I know some ebuild strip out CFLAGS it's unsure of, so if it's necessary other packages may need to be modified. On 4/24/05, Ian Pratt wrote: >=20 >=20 > > I pulled out the glibc-xen-tls.patch file and applied it to > > Gentoo's glibc-2.3.5. It compiled and installed, but when I > > reboot into Xen, I still get the emulation warning. Should > > it autodetect that the patch is there, or is there something > > I need to do to disable the check in Xen in order to test the patch? >=20 > Did you remember to build glibc with "-mno-tls-direct-seg-refs" ? >=20 > Ian >