Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2007 12:20:17 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-hackers@freebsd.org
Cc:        Roman Divacky <rdivacky@freebsd.org>, sam <samflanker@gmail.com>
Subject:   Re: linuxolator problem on amd64
Message-ID:  <200708221220.18721.pieter@degoeje.nl>
In-Reply-To: <20070822081020.GA16860@freebsd.org>
References:  <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 August 2007, Roman Divacky wrote:
> On Wed, Aug 22, 2007 at 01:36:20AM +0200, Pieter de Goeje wrote:
> > On Tuesday 21 August 2007, sam wrote:
> > > Hi, all.
> > >
> > > i am try runing Enemy Territory: Quake Wars server
> > > (links on http://weec.ovl.ru/csdivision/index.php?topic=662.0 )
> > >
> > > # uname -rms
> > > FreeBSD 6.2-STABLE amd64
> > >
> > > # mount | grep linproc
> > > linprocfs on /usr/compat/linux/proc (linprocfs, local)
> > >
> > > # cat run.sh
> > > #!/bin/sh
> > > cd `dirname $0`
> > > export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:."
> > > exec ./etqwded.x86 "$@"
> > >
> > > # ./run.sh
> > > cannot set up thread-local storage: cannot set up LDT for thread-local
> > > storage
> >
> > TLS for Linux programs only work on i386 or -current amd64, so either
> > downgrade to 32bits FreeBSD or upgrade to FreeBSD 7, or find a version of
> > the program that doesn't use TLS (non threaded version).
>
> I think the program is trying to set up "TLS" using user LDT. not the GDT
> segment TLS Linux 2.6 uses. ie. upgrading to 7.x etc. wont help
Hmm, I have a Linux binary here that spews out exactly the same error on 
6.2-amd64 but works on 7.0-amd64. So that let me to believe 'etqwded.x86' 
might run on 7.

Pieter de Goeje



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708221220.18721.pieter>